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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Wrong key/certificate

Post by simon.schvartzman » Tue Mar 15, 2022 7:20 pm

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 ";" or not to ";" that is the question

scott_morrow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 29
Joined: Tue Jun 27, 2006 8:35 pm
Location: Bellingham, WA USA
Contact:

Re: Wrong key/certificate

Post by scott_morrow » Wed Mar 16, 2022 7:35 am

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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Wrong key/certificate

Post by simon.schvartzman » Wed Mar 16, 2022 2:20 pm

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 ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Wrong key/certificate

Post by jacque » Wed Mar 16, 2022 6:56 pm

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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Wrong key/certificate

Post by simon.schvartzman » Thu Mar 17, 2022 2:29 pm

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 ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Wrong key/certificate

Post by jacque » Thu Mar 17, 2022 6:57 pm

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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Wrong key/certificate

Post by simon.schvartzman » Thu Mar 17, 2022 7:08 pm

Jacque many thanks for your inputs, the problem is definitely not related with my typing pace...

Anyway I appreciate your help

Best!
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Wrong key/certificate

Post by jacque » Fri Mar 18, 2022 8:45 pm

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: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Wrong key/certificate

Post by simon.schvartzman » Fri Mar 18, 2022 10:02 pm

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 ";" or not to ";" that is the question

Post Reply

Return to “Android Deployment”