Getting Error generating final archive: java.io.IOException: Invalid keystore format
while running my android application project i tried everything like update my adt and changed my jdk nothing seems to work.
Asked
Active
Viewed 3,017 times
1

user3086518
- 71
- 1
- 6
-
have you tried this? http://stackoverflow.com/questions/6035970/invalid-keystore-problem – nikis Mar 04 '14 at 09:43
-
I have seen this but how to change the pass for default keystore. – user3086518 Mar 04 '14 at 09:50
-
Means have you created keystore for your project? or using default debug.keystore file?? – Piyush Mar 04 '14 at 09:52
-
i am using a default.keystore file does it got expired after one year,because suddenly its stopped working. – user3086518 Mar 04 '14 at 10:02
1 Answers
0
Regenerate your keystore for your appsign process in your ide. That should help.
$ keytool -genkey -v -keystore my-release-key.keystore
-alias alias_name -keyalg RSA -keysize 2048 -validity 10000
for more information pleas visit that page.

RMachnik
- 3,598
- 1
- 34
- 51
-
1The same as for unix, because keytool is provided by java or android sdk. So you have to go into your java jdk or android sdk to see it in windows console. By default it shoudl be on "c:\Program Files\Java\jdk1.7.0_45\bin\" – RMachnik Mar 04 '14 at 09:53