Question

I'm trying to debug a Java Android app but when I type ant debug on the command line I get:

Buildfile: Build.xml doesn't exist

I'm using Ant 1.9 but it does not include Build.xml. How can I solve this problem?

Was it helpful?

Solution

From the directory containing the project, run the "android update project" command to create the build.xml file (plus some others). For example:

E:\Develop\AccelerometerPlay> android update project --path . --target android-19

Make sure that the target platform in installed in the SDK manager.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top