开发者

Android how to create apk file using ant script

an开发者_Python百科ybody tell me, building apk using ant script


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

The documentation also describes the "eclipse with ADT" way

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.


http://androidyou.blogspot.com/2012/12/android-project-ant-build-and-put.html

add one target to get the version, using the regular expression to extract it from the manifest.xml

then add this as a dependency to the release target

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜