谷歌地图未加载从Play商店下载应用程序 [英] Google Map is not loaded for the app downloaded from the Play Store

查看:129
本文介绍了谷歌地图未加载从Play商店下载应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序中使用谷歌地图。当我从我的电脑使用Eclipse安装应用程序时,谷歌地图的加载正确。现在我上传应用程序的谷歌Play商店进行分发。对于从Play商店安装的应用程序,谷歌地图未加载。什么是错的还是我失去了哪一步?

I use Google Map in my app. When I install the app from my pc using Eclipse, the Google Map is loaded properly. Now I uploaded the app to the Google Play Store for distribution. For the app installed from the Play Store, Google Map is not loaded. What is wrong or which step am I missing?

编辑1: 现在,我得到释放密钥库的SHA1指纹。然后我去了谷歌API控制台并用退出项目和指纹,我创建新的Andr​​oid API密钥。这个新的API密钥将被替换我的老调试API密钥,然后我再导出新的apk。这APK上传到Play商店。它看起来我跟所有必要的步骤。但尽管如此,在地图未加载,只有白色的背景出现。 同样的事情发生在这些链接,但没有说明他们是如何解决这个问题。 <一href="http://stackoverflow.com/questions/19293538/cant-run-android-application-with-release-keystore">link

EDIT 1: Now I get the SHA1 fingerprint from the release keystore. Then I go to the Google APIs Console and using exiting project and that fingerprint, I created new Android API Key. That new API key is replaced with my old debug API Key and then I export a new apk again. That apk is uploaded to the play store. It looks I followed all required steps. But still, the map is not loaded and only white color background appeared. Same thing happened at these links, but no description of how they solve the problem. link

推荐答案

试着做以下

  • 请跨越无论是在API控制台和清单文件验证包名称。
  • 请核实跨越两个API控制台和清单文件API密钥。
  • 在使用版本密钥库签署无符号的APK

在上传到Play商店,

Before uploading to play store,

  • 在安装是否会显示地图。它应该显示地图,一旦它的工作原理则只能上传APK游戏商店。

注:有些时候你必须卸载应用程序,它已经安装在设备,并尝试重新安装新的APK,它应该工作:)

Note: Some time you have to UNINSTALL app which is already installed in device and try to re install new APK, it should work :).

这篇关于谷歌地图未加载从Play商店下载应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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