What's the difference between StorePass and KeyPass when signing an apk?

Jeff451Jeff451 ITMember ✭✭

My app contains in-app purchases and I need to sign the debug apk with the production keystore. I've followed the instructions at

https://jamesmontemagno.github.io/InAppBillingPlugin/TestingAndTroubleshooting.html

You MUST sign the APK even in debug mode. In XS this is in the properties. In VS you must manually add this to your project:

<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>KeystoreLocation</AndroidSigningKeyStore>
<AndroidSigningStorePass>PASS</AndroidSigningStorePass>
<AndroidSigningKeyAlias>ALIAS</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>PASS</AndroidSigningKeyPass>

I've just one password for my keystore, but the required passwords are two AndroidSigningStorePass and AndroidSigningKeyPass.

I've used the same password for both parameters but I always get the following error in Visual Studio:

jarsigner error: java.lang.RuntimeException: keystore load: Keystore was tampered with, or password was incorrect

Any idea on how to proceed?

Thanks

Answers

Sign In or Register to comment.