Invalid keystore format
Solution 1
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?
Solution 2
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
Skynet
“Why is a raven like a writing desk?” ― Lewis Carroll, Alice in Wonderland My brogrammers drink: nun chai No way you can make this one line! That ; depends ; on ; how ; you ; define ; one ; line ; of ; code.
Updated on June 14, 2022Comments
-
Skynet almost 2 years
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:
-
Skynet about 10 yearsI had to use a different keystore altogether and unpublished the previous version, pain in all the wrong places!
-
Android_kalai about 10 yearsNo i dont want to unpublish my app
-
-
Skynet over 11 yearsI am new to this, the previous keystore I generated had the same password I am using right now. Where is the keystore located? I can find my exact apk at F:\. That is where I stored it.
-
Oleg Vaskevich over 11 yearsYou are exporting a signed application, right? The keystore is just a file that ADT can help you create; I don't know where you stored it. You can read about it here and (more importantly) here.
-
Skynet over 11 yearsI found it, I had not provided the path to it while creating it. Eclipse had hidden it inside its default folder. But my problem seems to persis. As previously I had created a keystore and due to the same problem had to sign my new app with a different keystore. Now I am able to find the previous one but not the new one! Pretty confusing!
-
Oleg Vaskevich over 11 yearsIt could be the
.android/debug.keystore
file; you should search for all.keystore
files (default password isandroid
I believe).