使用适用于Android的Python(Buildozer)签署Android应用 [英] Sign an Android app with Python for Android (Buildozer)
问题描述
我正在使用 Buildozer 将Python脚本编译为Android可执行文件(.apk).
i'm using Buildozer to compile Python scripts to Android executable files (.apk).
但是我有一个问题:我无法在Android上运行它们(我已将其安装在虚拟机中).我发现我需要对应用程序进行签名才能运行它.那么,我该如何签署我的申请?我正在使用GNU/Linux.
But I've got a problem : I can't run them on Android (I have installed it in a virtual machine). I have found that I need to sign the app to be able to run it. So, how do I sign my application ? I'm using GNU/Linux.
感谢您的帮助.
推荐答案
This was answered comprehensively by Ben Rousch at https://groups.google.com/forum/#!topic/kivy-users/5-G7wkbHb_k
他说:
通常,这些步骤是:
In general, the steps are:
1 Generate Keystore (once)
2 Create Release APK
3 Sign APK
4 Zip-align APK
Ben还在上面的链接中发布了工作流的示例终端命令.
Ben also posted example terminal commands for the workflow at the above link.
希望有帮助
这篇关于使用适用于Android的Python(Buildozer)签署Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!