如何的Android使用ant脚本来创建apk文件 [英] Android how to create apk file using ant script
问题描述
有人告诉我,使用ant脚本建筑APK
anybody tell me, building apk using ant script
推荐答案
检查Android开发者文档中的构建和运行从命令行的话题。你的的Android创建项目假定
工具,它应该是:
Check the android developers documentation in the Building and Running from the Command Line topic. Assumed you created your project with the android
tool it should be:
ant release
该文档还描述了日食与ADT的方式
The documentation also describes the "eclipse with ADT" way
如果您第一次设置与Eclipse项目不是试图创建一个新的临时项目的<一个href="http://developer.android.com/guide/developing/projects/projects-cmdline.html#CreatingAProject">android创建项目命令行命令,并采取的build.xml
(和 build.properties
+ <$ C C $> local.properties )从你现有的新项目。
If you first set up the project with eclipse than try to create a new temp project with the android create project command line command and take the build.xml
(and build.properties
+ local.properties
) from the new project for your existing one.
这篇关于如何的Android使用ant脚本来创建apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!