Your Android App Bundle is signed with the wrong key. Ensure that your app bundle is signed with the correct signing key and try again

后端 未结 11 1931
清歌不尽
清歌不尽 2020-12-01 23:20

How do I sign my android app bundle with the correct signing key?

11条回答
  •  囚心锁ツ
    2020-12-02 00:01

    I had the same error when building a signed Android App Bundle.
    For debug purposes on the local maschine, I enabled debuggable in the release build type.
    It seems, Playstore recognized an debug build and simply said it is not a valid Bundle.

    build.gradle:

    buildTypes {
         release {
             minifyEnabled true
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
             //debuggable = true  <----- Works like expected when disabled
         }
    }
    

提交回复
热议问题