Reputation: 578
I exported my project to build.xml in order to use ant.
When I execute 'ant debug' from the command line it outputs Target "debug" does not exist in the project.
What to do?
Upvotes: 0
Views: 287
Reputation: 34544
If you are trying to build with the auto generated ant scripts from android. You need to do an android update project
on the project in question and then use the build.xml
file that is generated from that.
To do this:
android update project -p .
This will update the current project that you are inside.The command above also assumes you have the android.bat
location on your path. If you do not, you need to use the entire path to your android.bat
location. Which should be similar to android-sdk/tools/android.bat
.
Upvotes: 1