Keytool alias does not exist

前端 未结 3 1031
闹比i
闹比i 2020-12-01 16:08

I am trying to get my debug.keystore md5 key so I can get the API key for Google Maps.

I run the command:

 keytool –genkeypair -alias ar         


        
3条回答
  •  时光取名叫无心
    2020-12-01 16:54

    This is what worked for me, first go to your JDK/bin dir, in my case this is C:\Program Files\Java\jdk-12.0.1\bin, click on dir path and write cmd to open command prompt or simply open cmd and navigate to your JDK\bin dir.

    Then write:

    keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
    

    When prompted for password write: android

提交回复
热议问题