-2

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?

Dave Newton
  • 158,873
  • 26
  • 254
  • 302

1 Answers1

0

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.

matiash
  • 54,791
  • 16
  • 125
  • 154