首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Google Maps Android API在发布模式下工作吗?

Google Maps Android API在发布模式下工作吗?
EN

Stack Overflow用户
提问于 2016-01-16 01:41:06
回答 1查看 173关注 0票数 0

我已经完成了以下步骤来尝试让Google Maps Android API工作: 1)启用“Google Maps Android API”2)获取我的生产和调试密钥库的SHA1指纹。调试密钥库通常位于/Users/myusername/.android/debug.keystore目录中。3)在谷歌开发人员控制台中,使用-> API& auth ->凭证。我已经为Android应用程序创建了一个新的密钥,并为我的调试和发布证书添加了证书、SHA1指纹和包名称。4)最后,我在maps_api_key参数中添加了接口密钥。但我还是看不到地图。我还能错过什么呢?

谢谢你的帮忙

这是我收到的错误信息:

01-07 11:34:03.928 2513-4480/com.app.name E/b: Authentication failed on the server. 01-07 11:34:03.928 2513-4480/com.app.name E/Google Maps Android API: Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map. 01-07 11:34:03.958 2513-4480/com.app.name E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com) Ensure that the "Google Maps Android API v2" is enabled. Ensure that the following Android Key exists: API Key: AIzaSyD7dCGyDaJlmpmu-vWglqxGwqHnqXXx9xx Android Application (<cert_fingerprint>;<package_name>): 90:20:70:19:C8:D9:7E:30:4C:54:73:50:B8:DE:10:BB:93:00:86:66;com.app.name

EN

回答 1

Stack Overflow用户

发布于 2016-01-16 02:28:40

是的,它确实可以在发布模式下工作。你唯一需要做的就是从发布的密钥库中生成一个指纹,而不是默认的调试密钥库。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34816786

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档