I exported a build.xml file from an Eclipse/Android project (under Windows). Then I use the command “ant release” to try to compile the project. But it always shows an error:
BUILD FAILED
Target "release" does not exist in the project "xxxx".
So the question is: Can ant use the build.xml file created by Eclipse? Or, how can I resolve this problem?
Thank you.
Run the
android update projectcommand on your project to create abuild.xmlthat is compatible with the Android build process. This will not disturb your existing Eclipse project files, so you will be able to build either way.