Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in Keytool command

hi when i try to run this command bin/keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android

i got the error java.lang.Exception Keystore file doesnot exist :debug.keyStore actually i am trying to get googlemaps key for android never used keytool command.

can any one help how to remove this error

like image 807
Raghu Avatar asked Aug 14 '26 07:08

Raghu


2 Answers

The problem is that the keytool does not know where to look for the keystore file. If you're on Windows 7 / Vista, try:

keytool -list -alias androiddebugkey -keystore c:\users\your-user-name\.android\debug.keystore -storepass android -keypass android
(replace your-user-name with your actual user name)

For Windows XP, try:

keytool -list -alias androiddebugkey -keystore c:\documents and settings\your-user-name\.android\debug.keystore -storepass android -keypass android

like image 195
Erez A. Korn Avatar answered Aug 16 '26 22:08

Erez A. Korn


If V2 map to generate SHA key use this command. use for releasing key means for testing.

   C:\Program Files\Java\jdk1.6.0_20\bin>keytool.exe -list -v -alias androiddebugkey -keystore C:\Users\DON\.android\debug.keystore -storepass android -keypass android 
  Don is  usersystem name

If you want app live means for development.

   eclipse->Window ->Preferences ->Android ->Build -> now you get the sha key
like image 43
Rishi Gautam Avatar answered Aug 16 '26 23:08

Rishi Gautam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!