开发者

Android Maps API

开发者 https://www.devze.com 2023-03-24 10:53 出处:网络
I\'ve been looking into the Google Maps API for Android and have followed the example to the letter, however I get the infamous grid without any actual map. I have generated the certificate fingerprin

I've been looking into the Google Maps API for Android and have followed the example to the letter, however I get the infamous grid without any actual map. I have generated the certificate fingerprint from the debug.keystore, which looks like C2:CD:EC etc.

The certificate given to me from this fingerprint is 0iaQ1NSWtSaR3wy1tAi7GSIVJLJZxQuHt** where the last six characters are asterisks.

I am able to get overlays to display, its only the map that doesn't load.

UPDATE: I just downloaded someone开发者_开发百科 else's code and inserted my own certificate and the same thing happens... So there is something wrong with my certificate.


Did you set the internet permission in your AndroidManifest file?

make sure this permission is in your manifest. < uses-permission android:name="android.permission.INTERNET"/>


Do you add googlePlayServises? If you test app on emulator, you must run it on emulator which consist GoogleAPi. I can not leave comment, becouse i have not 50 reputation

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号