Page 1 of 1

Wrong key/certificate

Posted: Tue Mar 15, 2022 7:20 pm
by simon.schvartzman
Hi, I'm trying to upload a new update of my Android APP to Google Play and getting the following error, which I have no idea how to fix. The keystore password and the key password are both right otherwise LC wouldn't generate the aab file.
What should I do? I do need to update my App on the store ASAP and have no clue as how to proceed.
Many thanks for any advice
Screen Shot 2022-03-15 at 15.16.45.png

Re: Wrong key/certificate

Posted: Wed Mar 16, 2022 7:35 am
by scott_morrow
Livecode will build the app if you point at a Keystore and know the correct alias and password to satisfy it. You could do this by creating a new Keystore each time you built an update; LiveCode would be happy. Google Play would not be happy. Google Play will only let you update an app (an app already existing in the store) if it was built using the exact same Keystore *file* as the original. It will not work if you create a new Keystore file even if the new Keystore has the same alias and passwords. Google Play uses this as a security measure to help assure that the creator of the update is the same entity (or has their permission) as the creator of the original.

Re: Wrong key/certificate

Posted: Wed Mar 16, 2022 2:20 pm
by simon.schvartzman
Hi Scott, many thanks for your explanation that I fully understand.

Since I haven't been able to overcome the issue I decided to create a new APP (it will be OK for me to do so) but now I'm facing a new problem, when I run the command line to generate the key I'm getting the following error
Screen Shot 2022-03-16 at 10.12.29.png
So as it is now I can update my APP neither can I generate a new one!!!

Very frustrating.

As always any hints will be much appreciated

Re: Wrong key/certificate

Posted: Wed Mar 16, 2022 6:56 pm
by jacque
Did you try to paste in the password? LC doesn't like that. Type it manually instead.

Re: Wrong key/certificate

Posted: Thu Mar 17, 2022 2:29 pm
by simon.schvartzman
Dear Jaque, I did not paste the password, I typed it as smoothly and timely as I could (even though, to be honest with you, this is when I'd prefer to hit the keyboard with a hammer! :( :evil:)

Re: Wrong key/certificate

Posted: Thu Mar 17, 2022 6:57 pm
by jacque
It's improved somewhat lately but I found that I had to type the password slowly, one letter at a time. In the past I counted to 3 between each letter, now I find it can be shorter. There must be some processing going on between each keystroke, I never did understand it.

Before I accidentally figured it out, I was also looking for a hammer. Not sure this is the same problem you have, but try one-finger typing just to see.

Re: Wrong key/certificate

Posted: Thu Mar 17, 2022 7:08 pm
by simon.schvartzman
Jacque many thanks for your inputs, the problem is definitely not related with my typing pace...

Anyway I appreciate your help

Best!

Re: Wrong key/certificate

Posted: Fri Mar 18, 2022 8:45 pm
by jacque
Maybe the problem really is that you've got the wrong keystore or password. You could try creating a new one.

Re: Wrong key/certificate

Posted: Fri Mar 18, 2022 10:02 pm
by simon.schvartzman
Jacque I guess you are right, anyway I decided to generate a new APP and move ahead.

Once again many thanks for your help

Regards