Google map not show any thing in map

大城市里の小女人 提交于 2019-11-29 07:54:22

Is your map API key for your debugbuilds or your release builds? The key is based on your keystore, which is different between your debug and release build. Your release key for google maps won't work if you're debugging your app, and vice versa.

Tai Dao

Use your main packet name for generate key.
For example: im my project, google map v2 is in com.ftravelbook.googlemapv2 but when generate key, you must use your main packet name (com.ftravelbook) here are some screenshots:

I was also having the same problem because i have generated key by making on google maps api v2 on.It is used for web not for mobile.

For android device you have to make a google maps android api v2 on and generate your key

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