如何在不使用 Eclipse 的情况下创建 .apk 文件 [英] how to create .apk file without using Eclipse

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

问题描述

我想为Android创建Theme Creator",所以我想在创建主题后创建.apk文件.谁能指导我如何进行?在这方面的任何帮助将不胜感激.

I want to create "Theme Creator" for Android, so I want to create .apk file after creating theme. Can anyone guide me how to proceed? Any help in this regard will be well appreciated.

推荐答案

我发现在没有 Eclipse 或没有任何其他 IDE 的情况下创建 .apk 的最佳方法是使用 maven 使用这个简洁的插件:Maven-Android-插件.它得到积极维护并且有很好的文档记录.您可以从示例开始.

The best way I have found to create .apk without eclipse, or without any other IDE is to use maven with this neat plugin : Maven-Android-Plugin. It is actively maintained and quite well documented. You can start off with a sample.

这种方法的缺点是必须更改构建过程,并且并非每个肮脏的小细节都被 IDE 隐藏.

The downside of this approach is that one has to change the build process and not every dirty little detail is hidden by the IDE.

好处是可以完全控制构建、签名、代码审计、CI 集成和 IDE 的自由选择.

The upsides are a full control of the build, signing, code audits, CI integration and the free choice of the IDE.

这篇关于如何在不使用 Eclipse 的情况下创建 .apk 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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