谷歌地图Android的API V2无法显示在地图Play商店中的应用 [英] Google Map Android API v2 can't display map in play store application

查看:188
本文介绍了谷歌地图Android的API V2无法显示在地图Play商店中的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作,在一个Android应用程序的谷歌地图Android的API V2

I am working with the Google Map Android API v2 in an android application.

它正常工作与无符号的apk 不同的设备上。但是,当我签署了apk文件并上传我的应用程序Play商店下载的应用程序显示一个白色的屏幕,而不是地图。

It works fine with the unsigned apk on a different device. But when I have signed the apk and uploaded my application to the Play Store the downloaded application displays a white screen instead of the map.

推荐答案

什么类型的密钥库,你正在使用?有两个键调试的释放键。如果您使用调试键,在Android Market中上传,地图会看空。使用释放键,当你签你的apk。

What type of keystore you are using? there are two keys. Debug and release key. If you use debug key and uploaded in android market, map will look blank. Use release key when you signed your apk.

发布关键工序

第1步:

比方说你的apk的名字是A和您登录并创建密钥库A.apk即A.keystore会在某些驱动器中创建location.Let的考虑在E盘。

Say for example your apk name is A and you are signing and creating a keystore for A.apk ie A.keystore will be created in some drive location.Let's consider it in E drive.

第2步:

现在定位在C盘为JDK(考虑为Windows和分配为C盘)

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

因此​​,它会创建 SHA-1 手指印。

这篇关于谷歌地图Android的API V2无法显示在地图Play商店中的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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