简体   繁体   English

无法加载地图。 无法联系Google服务器

[英]Failed to load map. Could not contact Google servers

I'm currently making an app for a class. 我目前正在为一个班级制作应用程序。 My partner and I are both using separate android tablets and when I upload my application from my computer onto my tablet and go to the map, it works. 我的伴侣和我都使用单独的android平板电脑,当我将计算机上的应用程序上传到平板电脑上并转到地图时,它可以正常工作。 When my partner uploads the application from his computer to his tablet, the map screen shows up blank. 当我的伴侣将应用程序从计算机上载到平板电脑时,地图屏幕显示为空白。 I then uploaded the application from my laptop to his tablet and the map showed up just fine. 然后,我将应用程序从笔记本电脑上传到他的平板电脑,地图显示正常。 What is the problem here? 这里有什么问题? Is there something going on with my friends laptop? 我的朋友笔记本电脑有什么问题吗?

The problem is that you have generated a map API key (in xml layout) for your computer's debug certificate, not your partner's. 问题是您为计算机的调试证书而不是伙伴的调试证书生成了Map API密钥(以xml布局)。 Your source code has one key for one computer, but you have 2 computers with 2 different debug certificates. 您的源代码只有一台计算机的密钥,但是您有两台计算机具有2个不同的调试证书。

I had this problem on my two computers and solved it by copying android's debug keystore from one computer (where it's working) to the other one - it's .android\\debug.keystore (or similar) in your user directory. 我在两台计算机上遇到了这个问题,并通过将android的调试密钥库从一台计算机(正在运行的计算机)复制到另一台计算机上来解决了-您用户目录中的.android \\ debug.keystore(或类似名称)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载地图。 无法联系Google服务器 - Failed to load map. Could not contact Google servers “无法加载地图。 无法联系Google服务器。“ - “Failed to load map. Could not contact Google servers.” 修复无法加载地图。 无法联系Google服务器。 - Fix the Failed to load map. Could not contact Google servers. Android地图:无法加载地图。 无法联系Google服务器 - Android Maps: Failed to load map. Could not contact Google servers 授权失败。 无法加载地图。 无法联系Google服务器。 (适用于Android的Google Map) - Authorization failed. Failed to load map. Could not contact Google servers. (Google Map for Android) Google Maps API V2'无法加载地图。 无法联系Google服务器 - Google Maps API V2 'Failed to Load Map. Could not contact Google Servers' Android版Google地图。 无法加载地图。 无法联系Google服务器 - Google Maps for Android. Failed to load map. Could not contact Google servers Google Maps android中的错误“android无法加载地图。 无法联系Google服务器。“ - Error in Google Maps android “android Failed to load map. Could not contact Google servers.” Google Maps Android API v2:无法加载地图。 无法与Google服务器联系 - Google Maps Android API v2: Failed to Load Map. Could not contact Google Servers Google Maps API V2'无法加载地图。 即使我检查权限和密钥库也无法联系Google服务器 - Google Maps API V2 'Failed to Load Map. Could not contact Google Servers', Even I check permission and keystore
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM