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




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.

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

1 Comment(s)

Add comment


By: Christopher

Hello. I did this exactly and it built an xml file but still gives me the same darn error. Please help. Thanks.