GoogleMaps - Actual Map not showing

随声附和 提交于 2019-12-12 00:23:25

问题


I was following this tutorial: http://www.vogella.com/articles/AndroidLocationAPI/article.html --> Paragraph 6.0

Problem: My emulator runs perfectly fine and everything works good (it zooms and everything), however, the actual map is nothing but a grid. It states that I should be able to send coordinates via the emulator, but how?

Possible Solutions? - Is my API key not correct? Am I not sending the correct coordinates? (I click random numbers and letters)


回答1:


You're correct. Normally that is a problem with your API key.

https://developers.google.com/android/maps-api-signup

It is getting the coordinates but if it is not generating the map it is a definite api key problem. You did request a key from google right using your java sdk keytool?




回答2:


You are using de debug.keystore, yo need to use other keystore, with other api key to run maps in a terminal.



来源:https://stackoverflow.com/questions/11104155/googlemaps-actual-map-not-showing

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