在 Google play 上上传应用程序时遇到问题 Made via Buildozer
Facing Issues While Uploading App on Google play Made via 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.
我也上传了图片看看
您应该使用 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.
对link进行说明:https://developer.android.com/tools/publishing/app-signing.html#signing-manually
我使用命令制作了一个应用程序 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.
对link进行说明:https://developer.android.com/tools/publishing/app-signing.html#signing-manually