Android Question Update APP on Google Play

Declan

Well-Known Member
Licensed User
Longtime User
When I attempt to upload the App Bundle to Google Play, I get the following error:
B4X:
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: E4:73:45:8D:9F:B2:B8:EA:4F:F7:34:E4:07:5B:77:4E:ED:46:68:F8
but the certificate used to sign the app bundle that you uploaded has fingerprint:
SHA1: 70:BB:BE:02:85:F8:22:DD:EF:F4:21:0C:B0:40:C2:51:02:C1:A9:F1

On compile I get:
B4X:
Signing AAB file    (2.30s)
    Algorithm: -digestalg SHA1 -sigalg SHA256withRSA

I have also tried to unload just the APK, but also get an error:
B4X:
Upload a valid app bundle

Where do I get the correct key?
 

Declan

Well-Known Member
Licensed User
Longtime User
My mistake. If you are seeing this line: -digestalg SHA1 -sigalg SHA256withRSA then you are using a new key.

Based on the error message in the first post, you are signing with the wrong key.
Thanks,
How would I:
1). Change the key in the app bundle to the old key?
OR
2). Reset the key on Google Play to accept the new key?
 
Upvote 0

Declan

Well-Known Member
Licensed User
Longtime User
#SignKeyAlgorithm: -digestalg SHA-256 -sigalg SHA256withRSA
Having added the above, I still get the following error when uploading the App Bundle to Google Play:
B4X:
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: E4:73:45:8D:9F:B2:B8:EA:4F:F7:34:E4:07:5B:77:4E:ED:46:68:F8
but the certificate used to sign the app bundle that you uploaded has fingerprint:
SHA1: 70:BB:BE:02:85:F8:22:DD:EF:F4:21:0C:B0:40:C2:51:02:C1:A9:F1
Unfortunately the developer who uploaded the original app has sailed off into the sunset ? and Users of new versions of Android are unable to download and install the app.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
as Erel already said and as you can read from the second line:

Your Android App Bundle is signed with the wrong key.

you are using the wrong key!
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
if you lost your original keystore file then you will have a problem updating the app.


you may upload it with a new bundle id and hope people will find it at the store and update it from there.
unpublish the old app and upload a new with the same name and description + pictures and i guess most users will search for the app name and find the new app.
(this is in case you cannot recover the old keystore file)
 
Upvote 1

Declan

Well-Known Member
Licensed User
Longtime User
I have finally managed to track down the old keystore file.
However, I get an error when added to the project:
B4X:
#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: False
    #SignKeyFile=E:\XXX\XX\XX\AVP\B4A\avp.keystore
#End Region
B4X:
Error parsing attribute:#SignKeyFile=E:\XXX\XX\XX\AVP\B4A\avp.keystore
What is the correct syntax?
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
i dont have such a line in my apps.

B4X:
    #SignKeyFile=E:\XXX\XX\XX\AVP\B4A\avp.keystore

just remove it and see if it is working.
dont forget to load the correct file in Tools -> Private Sign Key

 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Is there video clip for watching? I have read English,but I don't get it.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…