Android: keytool error on the command line when locating debug.keystore

前端 未结 8 1007
渐次进展
渐次进展 2020-12-10 19:30

I\'m trying to generate the MD5 fingerprint from the debug.keystore file using keytool.exe in my JDK so I can use Google Maps in my Android project. I\'ve locat

相关标签:
8条回答
  • 2020-12-10 20:00

    First i wentto the bin directory and then

    get where your debug.key is ..mainly at the .android and it worked like a charm

    where androiddebugkey is the name you give

    C:\Program Files\Java\jdk1.8.0_66\bin>keytool -exportcert -list -v -alias androiddebugkey  -keystore C:\Users\001557\.android\debug.keystore
    
    0 讨论(0)
  • 2020-12-10 20:01

    There are times when your .android folder is present in the C:\Documents and Settings path. Often, because of the spaces in Documents and Settings, the command will not run properly.

    It's better if you just create a test folder under C: and put your debug.keystore file in this folder. Then give the path as:

    keytool -list -alias androiddebugkey -keystore "C:\test\debug.keystore" -storepass android -keypass android 
    

    This works. If somebody is facing issues and getting an error on this command, you can try your luck with this.

    0 讨论(0)
提交回复
热议问题