Google Maps API v2仅在一台设备上显示地图 [英] Google Maps API v2 displaying maps only on one device

查看:69
本文介绍了Google Maps API v2仅在一台设备上显示地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在清单文件中使用相同的API密钥,该密钥文件是从SHA-1指纹获得的,但它仅在一个设备(第一个运行它的设备)上显示地图,而不在其他设备上显示。我们也在使用FragmentActivity。那可能是什么问题。请帮帮我们

We are using the same API key in the manifest file, which is obtained from the the SHA-1 fingerprint but it is displaying map only on one device(the first device to run it) and not on other devices. We are also using FragmentActivity. So what could be the problem. Please help guys

推荐答案

我找到了解决方案。我们应该使用release api key而不是debug key。以前我使用的是调试密钥。
I found out the solution. We should use the release api key not the debug key. Previously I was using the debug key.


这篇关于Google Maps API v2仅在一台设备上显示地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆