2
votes

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.

1

1 Answers

7
votes

Run the android update project command on your project to create a build.xml that 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.