Android Question Yet another problem with the Signature...

vecchiounno

Member
Licensed User
I read everything, everywhere and asked for help in the Italian Forum, but I couldn't solve the first problem:
how to sign my app (apk, no aab) as an update of an app (apk) already present since 2015 on google play and with keystore from 2012?

The first version in 2015 was made with AppInventor2 and the current one (the update) was completely rewritten in B4A.

This is what was done in B4A:


And this is what B4A responds after compilation:

This is Google Play's response:

Thanks for your help... (I'm desperate) ?

p.s.

I also activated this procedure as required by Google Play:


note that my old keystore is actually correct on Google Play
 
Last edited:

vecchiounno

Member
Licensed User
As this key wasn't created with B4A, the key alias is not b4a. You need to find out the alias. Use this tool to find it: https://keystore-explorer.org/

And set it with #SignKeyAlias in the main module.

Thank you so much Erel!

It no longer gives me a compilation error on the key.
In the afternoon (in Italy) I will publish on Google Play, but I'm sure it won't give me any more errors.

See you later...
 
Upvote 0

vecchiounno

Member
Licensed User
Thank you so much Erel!

It no longer gives me a compilation error on the key.
In the afternoon (in Italy) I will publish on Google Play, but I'm sure it won't give me any more errors.

See you later...
I confirm that Google Play has taken over my update.
Now I can finally start converting all my apps from AppInventor2 to B4A.
Thanks again great Erel!
 
Upvote 0

vecchiounno

Member
Licensed User

I hope I can help you.

I need to understand your problem first.
What I am writing to you concerns my case, that is, the update on Google Play of an old APP in apk format.

1) you must have the keystore file (mine is called frogscompany.keystore)
2) you must place this file in a folder on your PC
3) after loading your project into B4A, select Load existing key in the Private Sign Key dialog box
4) in the Password textbox enter your keystore password
5) in the File textbox click on the Browse button and point to the folder that contains your keystore file and double-click on it
6) click on Ok at the bottom

To check if your keystore has been accepted by B4A, return to the Private Sign Key dialog box again.
If the plain text content of your keystore appears in the Signature textbox, you are almost at the end:
Write down the Alias name that you will need later.

At this point - and this was what I was missing - in the Main module add this line:
#SignKeyAlias: frogscompany
where instead of frogscompany you will put the alias of your keystore.

Now compile and publish easily on Google Play...

p.s.
this procedure applies only to APPs in apk format (not for those in aab format).
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
To check if your keystore has been accepted by B4A, return to the Private Sign Key dialog box again.
If the plain text content of your keystore appears in the Signature textbox, you are almost at the end:
Yes, this is my hangup. In that Signature textbox is printed: Create or load a key and reopen this dialog to see the signatures. Of course this is after I have "Created new key" in the same box earlier.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User

vecchiounno,​

Thanks for trying to help me. I have started a new thread:
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…