如何的Andr​​oid使用ant脚本来创建apk文件 [英] Android how to create apk file using ant script

查看:234
本文介绍了如何的Andr​​oid使用ant脚本来创建apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人告诉我,使用ant脚本建筑APK

anybody tell me, building apk using ant script

推荐答案

检查Android开发者文档中的构建和运行从命令行的话题。你的的Andr​​oid创建项目假定工具,它应该是:

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.

这篇关于如何的Andr​​oid使用ant脚本来创建apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆