Android谷歌地图版本2显示空白页面?

Yug*_*esh 2 eclipse android google-maps android-maps android-maps-v2

在我的应用程序中使用谷歌地图版本2.当我通过eclipse在真实设备中运行应用程序意味着它显示地图.但是当我导出应用程序作为签名apk并在播放商店上传我的apk.Then我下载上传的apk来自Play商店的文件,我在我的设备中运行,但它只显示空白页面.我不知道是什么问题.任何知道.请帮我解决这个问题.

Har*_*hid 7

你必须要求 signed apk with SHA-1

步骤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
Run Code Online (Sandbox Code Playgroud)

第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.
Run Code Online (Sandbox Code Playgroud)

我希望这对你来说已经足够了.如果有任何疑问都会发表评论.