简体   繁体   English

使用 Google Play 控制台签署 Flutter 应用程序

[英]Signing a Flutter App with Google Play Console

I have problems in uploading a standard app on google play.我在 google play 上上传标准应用时遇到问题。 I get following error:我收到以下错误:

You uploaded an APK or Android app bundle that was signed in debug mode.您上传了在调试模式下签名的 APK 或 Android 应用程序包。 Upload an APK or Android app bundle that was signed in release mode.上传以发布模式签名的 APK 或 Android 应用程序包。 Learn more about signing.了解有关签名的更多信息。

I am not sure what I was doing wrong.我不确定我做错了什么。 I went to Build -> Flutter -> Build App Bundle我去了 Build -> Flutter -> Build App Bundle

Please read Signing the app .请阅读签署应用程序 It clearly says:它清楚地说:

To publish on the Play Store, you need to give your app a digital signature.要在 Play 商店上发布,您需要为您的应用提供数字签名。 Use the following instructions to sign your app.使用以下说明签署您的应用程序。

On Android, there are two signing keys: deployment and upload.在 Android 上,有两个签名密钥:部署和上传。 The end-users download the .apk signed with the 'deployment key'.最终用户下载使用“部署密钥”签名的 .apk。 An 'upload key' is used to authenticate the .aab / .apk uploaded by developers onto the Play Store and is re-signed with the deployment key once in the Play Store. “上传密钥”用于对开发人员上传到 Play 商店的 .aab / .apk 进行身份验证,并在 Play 商店中使用部署密钥重新签名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM