Android: Buildfile: build.xml does not exist!

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Wed, 2011-08-03 22:53. :: Errors

Error: Android: Buildfile: build.xml does not exist!

You want to build an Android app and get the following error:

ant debug

Buildfile: build.xml does not exist!
Build failed

 

Solution

Run

android update project --target 5 --path /path/to/android/project

or, if you are in your project's root directory already:

android update project --target 5 --path .

target is the build target for your project. Run

android list targets

to get a list of all available targets.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.