Android 新GoogleMapV2 API关键问题
我创建了一个带有贴图的应用程序,但贴图不加载分幅 在控制台中,我得到了日志:Android 新GoogleMapV2 API关键问题,android,google-maps,google-maps-android-api-2,Android,Google Maps,Google Maps Android Api 2,我创建了一个带有贴图的应用程序,但贴图不加载分幅 在控制台中,我得到了日志: ru.gs.maptest I/Google Maps Android API﹕ Failed to contact Google servers. Another attempt will be made when connectivity is established. ru.gs.maptest E/Google Maps Android API﹕ Failed to load map. Error conta
ru.gs.maptest I/Google Maps Android API﹕ Failed to contact Google servers. Another attempt will be made when connectivity is established.
ru.gs.maptest E/Google Maps Android API﹕ Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).
对于创建项目,我在AndroidStudio中使用了一个模板(新项目->…->GoogleMapActivity->…)
AndroidStudio根据文档中描述的规则生成清单文件。只需要插入映射键
p、 我可以把源代码,如果需要的话 像我这样有问题的人(现在):
卸载旧的apk,然后重新安装一个。如果你重复这个问题。分享你的日志猫错误。我做到了。从设备卸载应用程序,清除项目,使缓存无效,然后重新安装。我在尸体上贴了日志。或者更需要什么?可能是注册中的一些问题。www.androidhive.info/2013/08/android-working-with-google-maps-v2/遵循这一条。这对你有帮助