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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are trying to build with the auto generated ant scripts from android. You need to do an
android update projecton the project in question and then use thebuild.xmlfile 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.batlocation on your path. If you do not, you need to use the entire path to yourandroid.batlocation. Which should be similar toandroid-sdk/tools/android.bat.