Phonegap - Error - Keystore alias not recognized

2020-08-26 03:34发布

问题:

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.

回答1:

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.