Whenever I use any of those commands, I get "keytool.exe is not a valid win32 application" error, even when I open keytool.exe
independently as an exe file.
C:\Program Files(x86)\Java\jre6\bin>keytool.exe -list -alias androiddebugkey -keystore "C:\Users\ti7a\.android\debug.keystore" -storepass android -keypass android
keytool -list -keystore "C:\Users\ti7a\.android\debug.keystore"
C:>cd C:\Program Files\Java\jre6\bin
and then
keytool -list -alias androiddebugkey -key store "C:\Users\ti7a\.android\debug.keystore" -storepass andro id -keypass android
How is this caused and how can I solve it?
I faced the same problem. I found another keytool.exe inside of "C:\Program Files (x86)\Java\jdk1.7.0_03\jre\bin" I guess you used the keytool.exe inside of "C:\Program Files (x86)\Java\jdk1.7.0_03\bin"
Wolfen
I had the same problem. I looked at the size of the EXE file, and its size was 0kb.
After a bunch of research, I came across a this: http://www.java.com/en/download/help/x64bits.xml
It says to install the 32bit version to fix the problem. However I didn't like that idea, so I re-installed the 64bit version and it fixed the problem form me.
You might want to check the size of your file to see if this could be your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With