Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid keystore format

I recently updated an app to the market, I generated the keystore and the corresponding password. Now I updated the app and intend to update it on the market too, I have published QR Codes for the same in media and whilst I try to sign my new APK I keep on getting the error " Invalid keystore format" for the option of "Use existing Keystore". Unable to determine where I am going wrong.

Here is the screenshot:

like image 768
Skynet Avatar asked Jan 05 '13 07:01

Skynet


2 Answers

Are you positive that you are opening the same keystore as before and using the right password? There may be a possibility that the keystore somehow got corrupted; perhaps you have a backup?

like image 196
Oleg Vaskevich Avatar answered Oct 05 '22 03:10

Oleg Vaskevich


You definitely need to create a new keystore file.
But you need to add some properties while creating the keystore file.

keytool -genkey -v -keystore C:/Users/Username/key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key
like image 27
Aditya Avatar answered Oct 05 '22 03:10

Aditya