该地图在分布式/已发布的应用程序中不可见,但在开发版本中可以正常工作(The map is not visible in the distributed/published app, but work

编程入门 行业动态 更新时间:2024-10-27 22:34:24
该地图在分布式/已发布的应用程序中不可见,但在开发版本中可以正常工作(The map is not visible in the distributed/published app, but works fine in the development version)

我在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.

更多推荐

本文发布于:2023-08-03 21:41:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1401092.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:但在   分布式   中不   应用程序   版本

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!