wwyt
wwyt

Reputation: 2731

Can ant use the build.xml created by Eclipse?

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.

Upvotes: 2

Views: 2202

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006809

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.

Upvotes: 7

Related Questions