android - 在 Google play 上上传应用程序时遇到问题 Made via Buildozer

标签 android upload kivy buildozer

我已经使用命令 buildozer android debug deploy run 制作了一个应用程序

然后我转到我的新 gmail 帐户并简单地转到开发人员控制台并尝试上传这个新的 apk 但它说我

Upload failed

You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play. Learn more about debuggable APKs.

You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode. Learn more about signing.

我也上传了图片,看看吧enter image description here

最佳答案

您应该使用 release 命令而不是 debug 在 Play 商店中发布。

之后您需要手动签署 apk:

Buildozer can't currently do this part for you. You need to follow the instructions at https://developer.android.com/tools/publishing/app-signing.html - specifically, step 1 with keytool, step 3 with jarsigner and step 4 with zipalign. You don't need step 2, that's what buildozer takes care of.

This isn't too hard, just 3 terminal commands, and one of them (generating your key store) only needs to be done once.

You should also read about safely securing your keys. If you lose them you won't be able to sign apps any more - you can create a new one, but then can't upgrade existing apps easily and need to make a new Play store entry etc.

Quote source .

说明的正确链接:https://developer.android.com/tools/publishing/app-signing.html#signing-manually

关于android - 在 Google play 上上传应用程序时遇到问题 Made via Buildozer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31945288/

相关文章:

android - Path.offset() 不适用于所有设备

android - 当前线程没有调用 Looper.prepare()。强制同步模式

php - getimagesize - 无法打开流 : Connection timed out in

python - KivyMD 小部件显示在 MDBoxLayout 中的页面底部

python - 如何使用Kivy在python中的TabbedPanel中排列Label、Entry

android - 我正在使用android studio 4.0并遇到错误消息无法加载包装器属性

android - 已安装构建工具但未能找到构建工具修订版 24.0.1

php - 为什么在 PHP 中调整上传图片大小时我的图片会旋转?

javascript - 使用nodejs上传大文件

kivy - 如何在 buildozer.spec 的需求中使用特定(或自定义)版本?