Wrong key/certificate

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Wrong key/certificate

Post 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
Simon
________________________________________
To "AI", or not to "AI", that is the question
scott_morrow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 42
Joined: Tue Jun 27, 2006 8:35 pm
Contact:

Re: Wrong key/certificate

Post 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.
Elementary Software
...now with 20% less chalk dust!
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Wrong key/certificate

Post 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
Simon
________________________________________
To "AI", or not to "AI", that is the question
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Wrong key/certificate

Post by jacque »

Did you try to paste in the password? LC doesn't like that. Type it manually instead.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Wrong key/certificate

Post 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:)
Simon
________________________________________
To "AI", or not to "AI", that is the question
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Wrong key/certificate

Post 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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Wrong key/certificate

Post 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!
Simon
________________________________________
To "AI", or not to "AI", that is the question
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Wrong key/certificate

Post by jacque »

Maybe the problem really is that you've got the wrong keystore or password. You could try creating a new one.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Wrong key/certificate

Post 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
Simon
________________________________________
To "AI", or not to "AI", that is the question
Post Reply