我在android中的应用程序中使用了google map api。 它在开发版本中与api密钥一起正常工作,但同样没有显示已发布版本中的地图视图。 只是网格正在显示。 有人可以帮我解决这个问题吗?
I used google map api in my application in android. It works fine with api key in development version but the same does not shows the map view in the published version. Just grids are displaying. Can anyone help me regarding this issue?
最满意答案
您在发布的版本中使用调试密钥库密钥,这就是它不显示映射的原因。 您已为已发布的版本创建了密钥库吗? 您需要获取该密钥库的Google Maps API密钥(通过提供SHA / MD 5密钥)。 之后,该地图也将显示给已发布的版本。
You are using the debug keystore key in the published version that is why its not showing map. You have created the keystore for your published version right? You need to get the Google Maps API key for that keystore (by providing the SHA/MD 5 key). After that map will be shown to the published version as well.
更多推荐
发布评论