简体   繁体   English

如何为 Google Play 商店签署我的 flutter 应用程序?

[英]How do I sign my flutter app for google play store?

I went to build a new release of my app today and was stopped with a signing error:我今天去构建我的应用程序的新版本,并因签名错误而停止:

Your Android App Bundle is signed with the wrong key.您的 Android App Bundle 使用错误的密钥签名。 Ensure that your App Bundle is signed with the correct signing key and try again:SHA1: DF:2F...确保您的 App Bundle 使用正确的签名密钥进行签名,然后重试:SHA1: DF:2F...

I haven't changed anything with my keystore or signing process in the instructions here https://flutter.dev/docs/deployment/android .https://flutter.dev/docs/deployment/android的说明中,我没有对我的密钥库或签名过程进行任何更改。 My last release to production was Aug 29, 2020, so how can I tell if Google Play Console changed the default signing process?我的最后一个生产版本是 2020 年 8 月 29 日,那么我如何判断 Google Play 管理中心是否更改了默认签名流程? I'm at a loss about what's different now.我不知道现在有什么不同。

[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-US)
    • Flutter version 1.22.2 at /Users/*/development/flutter
    • Framework revision 84f3d28555 (4 months ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/*/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

You should find the *.jks file and key + keystore passwords which you use to upload app bundle or apk for the latest release.您应该找到用于上传最新版本的应用程序包或 apk 的*.jks文件和密钥 + 密钥库密码。 May be they were stored in your git, passwords may be in build.gradle (unsafe options, but someone do that).可能它们存储在您的 git 中,密码可能在build.gradle中(不安全的选项,但有人这样做)。 This keystore file and passwords are very important.这个密钥库文件和密码非常重要。 You should make a backup somewhere safe.您应该在安全的地方进行备份。

If you lost the keystore file, try to contact Google Play support to upload new keystore file certificate.如果您丢失了密钥库文件,请尝试联系 Google Play 支持以上传新的密钥库文件证书。 Another extreme option is to delete the app from Google Play and create a new one with new keystore.另一个极端的选择是从 Google Play 中删除应用程序并使用新的密钥库创建一个新的应用程序。

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

相关问题 在Google Play商店上发布应用程序后,如果该应用程序依赖于Google登录,该如何测试? - How do I test my app when it's dependent on Google sign in after publishing app on the Google Play Store? 如何为Google Play签名我的应用捆绑包? - How do I sign my app bundle for Google play? 如何签署我的Android apk for Google Play提交 - How do I sign my Android apk for Google Play submission 我如何在 google Play 商店上发布我现有 ionic 应用程序的更新版本? - How do i publish an updated version of my existing ionic app on google play store? 如何从我的 PhoneGap/Cordova 应用程序直接导航到 Google Play 商店中的应用程序? - How do I navigate directly to an app in the Google Play Store from my PhoneGap/Cordova application? 如何在我的Android应用中使用下载的Google Play商店音乐? - How do I use downloaded Google Play Store music in my android app? Phonegap如何使用Google Play商店密钥签署应用 - Phonegap how to sign an app with google play store key 我是否需要在Google Play商店中启动我的应用才能通过Facebook发送应用邀请? - Do I need to launch my app on the Google Play Store in order to send app invites through Facebook? 如何在我的应用程序中使用Google Play游戏? - How do I use Google Play Games in my app? 如何在Google Play中找到我的应用? - How do I find my app in Google Play?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM