Maps API v2 key on Android

I went to https://code.google.com/apis/console/

Then I did the following:

keytool -v -list -alias ks_ms_ad -keystore W:\eclipse-android-sign\keystore\exampleproject 

I converted the output

 SubjectKeyIdentifier [ KeyIdentifier [ 0000: HH HH HH HH HH HH HH HH HH HH HH HH HH HH HH H /x< s7.@...B. ).8. 0010: HH HH HH HH .. . ] ] 

to

 HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH;com.exampledomain.exampleproject 

Google really accepted this, so somehow I turned gibberish into something useful. The "HH" elements matched the example provided on the Google APIs console website, so there is little chance that I really was right.

But the above doesnโ€™t seem like I read it? Do I really have to do the editing I did? I thought I was ready to use md5 from keytool?

I get witgh [+] [-] screen zoom buttons blank, partly why I think there might be a problem?

+2
source share
2 answers

Looks like I was spoiled. (You will find SHA1, etc. Above what I referred to). So for others, this is needed:

keytool debugging fingerprint example:

 keytool -list -v -keystore "C:\Users\%your name%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH;com.company.product 

cancel fingerprint keytool:

 keytool -v -list -alias youralias -keystore W:\keystore\product HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH:HH;com.company.product 

All of the above can then use the same API key that the template will have:

 a-zA-Z0-9- 

Here you can get the API key: https://code.google.com/apis/console/

And find keytool.exe here (example) C: \ Program Files \ Java \ jre7 \ bin

+7
source

I think that there was a problem with your key in the way it was signed. FingerPrint seems weird. Pls. check out SHA1 fingerPrint. OHK. It looks like you found the problem.

+1
source

All Articles