简体   繁体   中英

Can you sign app bundle from different PC / keystore

I uploaded my first app bundle from a desktop pc.

But now i want to upload an app bundle from a different pc (macbook to be precise).

So i added additional sha-1 and sha-256 fingerprint in my console account and created new upload-keystore.jks file.

But when i upload the new app-release.aab to play console it says:

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. Your App Bundle is expected to be signed with the certificate with fingerprint: SHA1: xxx but the certificate used to sign the App Bundle you uploaded has fingerprint: SHA1: yyy

So what do i do in this case?

PS: I tried cleaning my builds and cache and doing a new app build.

you need to use old keystore.jks file then

it will work fine............

Actually i just realized there was a big fat button on upload page saying "Change signing key"...

It allows you to set your new signing key to current keystore.jks

It worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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