Phonegap - Error - Keystore alias not recognized
Asked Answered
A

1

9

I am strugging to sign an Android app using Phonegap Build

I get the following error:

Error - Keystore alias not recognized

I am using this to create the keystore in my terminal:

keytool -genkey -v -keystore name.keystore

-alias alias -keyalg RSA -keysize 2048 -validity 10000 -storepass password

What should I be using for the 'name' and 'alias', am I missing something?

Thanks.

Acie answered 8/9, 2013 at 19:55 Comment(0)
R
28

Try this way. https://github.com/amirudin/build/wiki/Android-Signing

If the alias is not recognized, the alias field you provided was not found on the keystore file that you uploaded. If the keystore format was invalid, you may not have uploaded the correct files. If the password was incorrect, you may have entered it incorrectly.

enter image description here

Renter answered 9/9, 2013 at 4:26 Comment(2)
Excellent answer/documentation! Was able to get it working right away.Radarman
thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks :)Vicar

© 2022 - 2024 — McMap. All rights reserved.