用Python for Android (Buildozer)签署一个Android应用[英] Sign an Android app with Python for Android (Buildozer)

本文是小编为大家收集整理的关于用Python for Android (Buildozer)签署一个Android应用的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我正在使用 bublyozer 将Python脚本编译为Android可执行文件(.apk).

但我有问题:我无法在Android上运行它们(我已在虚拟机中安装它).我发现我需要签署应用程序以便能够运行它.那么,我如何签署我的申请?我正在使用GNU/Linux.

谢谢你的帮助.

推荐答案

这是由本rousch在 https答案://groups.google.com/forum/#!主题/kivy-users/5-g7wkbhb_k

他说:

一般来说,步骤为:

   1 Generate Keystore (once)
   2 Create Release APK
   3 Sign APK
   4 Zip-align APK

本还发布了上述链路的工作流程的示例终端命令.

希望有助于

本文地址:https://www.itbaoku.cn/post/1937949.html

问题描述

i'm using Buildozer to compile Python scripts to Android executable files (.apk).

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.

Thanks for you help.

推荐答案

This was answered comprehensively by Ben Rousch at https://groups.google.com/forum/#!topic/kivy-users/5-G7wkbHb_k

He said:

In general, the steps are:

   1 Generate Keystore (once)
   2 Create Release APK
   3 Sign APK
   4 Zip-align APK

Ben also posted example terminal commands for the workflow at the above link.

Hope that helps