[英]How to build android project using ant, when i referenced some jre libs
I used eclipse to develop my android app and used JRE System Library in the project. 我使用eclipse开发了我的android应用程序,并在项目中使用了JRE系统库。 and i can build the project using Eclipse. 我可以使用Eclipse构建项目。 but i could not build it using ant. 但是我无法使用蚂蚁来构建它。 it could not found the classes in the JRE System Library. 它在JRE系统库中找不到这些类。 How can i add the JRE System Library to the ant build path? 如何将JRE系统库添加到ant构建路径?
Eclipse doesn't create all the files you need to be able to run the project from the command-line. Eclipse不会创建能够从命令行运行项目所需的所有文件。 Might I suggest http://www.vogella.com/articles/AndroidBuildAnt/article.html as a reference that will guide you through the steps to correctly configure Ant and use it from the command-line. 可能我建议http://www.vogella.com/articles/AndroidBuildAnt/article.html作为参考,它将指导您完成正确配置Ant的步骤,并从命令行使用它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.