简体   繁体   English

android如何以编程方式导出已签名的apk文件

[英]android how can I export signed apk file programitically

I want to create an application creator. 我想创建一个应用程序创建者。 It means that I want user to create its own application using my application and export signed apk file on its device. 这意味着我希望用户使用我的应用程序创建自己的应用程序,并在其设备上导出已签名的apk文件。
Is this possible in android? 这在Android中是否可行?

If it is possible then please help me so that I can implement it. 如果有可能那么请帮助我,以便我可以实施它。

Thank You. 谢谢。

This is possible but it requires Rooted Device . 这是可能的,但它需要Rooted Device

Now you need to create script (android commands) for 现在你需要创建脚本(android命令)

  • compiling 编译
  • packaging 打包
  • creating key-store 创建密钥库
  • signing to key-store into release mode 签到密钥库进入发布模式

We are allowed to do above all things using command. 我们被允许使用命令做所有事情。 Try to follow it one by one and you can generate .apk file. 尝试逐个跟踪它,您可以生成.apk文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM