开发者

Can ant use the build.xml created by Eclipse?

开发者 https://www.devze.com 2023-03-20 05:34 出处:网络
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:

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? 开发者_JS百科Or, how can I resolve this problem?

Thank you.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号