Maps v2 API Key on Android

柔情痞子 提交于 2019-12-03 21:06:14

Seem the cause was I had messed up. (You find SHA1 etc. above what I referenced) So just for for others messing around with this:

debug keytool 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

release keytool fingerprint example:

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 above can then share the same API key which will have pattern:

a-zA-Z0-9- 

You can get the API key here: https://code.google.com/apis/console/

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

I think there was an issue with your key itself in the way it has been signed. The fingerPrint seems odd. Pls. check the SHA1 fingerPrint. Ohk. looks like you have found the issue.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!