Not able to generate correct build.xml for android test project

Posted by user338656 on Stack Overflow See other posts from Stack Overflow or by user338656
Published on 2010-05-11T19:28:21Z Indexed on 2010/05/11 19:34 UTC
Read the original article Hit count: 198

Filed under:

Hi,

I have created a main android project using "android" utility. e.g.

android create project --target 1 --name MyApp --path C:\testandroid\myui --activity LaunchActivity --package com.myui.activity

build.xml got generated fine (has ant targets like debug, release etc)

I generated a test android project (which depends on main project). I used "android" utility to do that. e.g.

android create test-project --path C:\testandroid\myuitest --main ..\myui --name MfAppTest

build.xml got generated but incorrect (does not have targets like run-tests). It has same targets as main project.

Can someone help as where is the problem? Thx. Ashley

© Stack Overflow or respective owner

Related posts about android