在我的应用程序中,我使用的是 Google map 版本 2。当我通过 eclipse 在真实设备上运行应用程序时,意味着它会显示 map 。但是当我将应用程序导出为已签名的 apk 并在 play store 中上传我的 apk 时。然后我下载从 Play 商店上传的 apk 文件并在我的设备上运行它,但它只显示空白页面。我不知道是什么问题。任何人都知道吗?请帮助我解决这个问题。
最佳答案
您必须要求使用 SHA-1 签名的 apk
第 1 步:
Now locate to jdk in C drive(Considering for windows and assigning C drive)
C:\Program Files\Java\jdk1.7.0\bin>keytool -list -v -keystore E:\A.keystore -alias A
So it will create SHA-1 finger print
第 2 步:
Go to google api console.
Generate new api key for android you have to used this SHA-1 and current playstore package name.
Put Api key into your map.
我希望这对你来说足够了。如果有任何查询发表评论。
关于Android 谷歌地图版本 2 显示空白页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18711342/