我已经使用命令 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.
最佳答案
您应该使用 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.
说明的正确链接:https://developer.android.com/tools/publishing/app-signing.html#signing-manually
关于android - 在 Google play 上上传应用程序时遇到问题 Made via Buildozer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31945288/