Google地图v2在游戏市场发布后不显示 [英] Google map v2 doesn't showing after publishing in play market

查看:107
本文介绍了Google地图v2在游戏市场发布后不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发布后,我的Android应用中的Google地图出现问题。
在开发人员控制台中,我启用了Google Maps Android API v2,添加了SHA1键+包:
4D:8A:1F:C1:2D:8F:AD:EE:13: 6A:AE:D0:FB:98:56:A1:76:70:84:2A; com.mypackage ,获取API KEY并将其添加到Android清单中。



但是在我发布我的应用之后,我收到了一条消息:
$ b


确保已启用Google Maps Android API v2 。确保
存在以下Android密钥:API密钥:
AIzaSyBt8ERGTRg8dMQy62FHoDbhaVs7YrG52iA Android应用程序
(;):
AA:08:25:A3:7B:3C:DD :C3:2D:7C:66:CE:67:47:8D:54:B9:3B:8A:21; com.mypackage

正如您在消息和我的项目中看到的SHA1不同。为什么?什么是错的?

解决方案

$ b $无需更改代码b

您需要创建一个relase证书下面的指纹是生成发布证书指纹的步骤

1。一旦你做了一个签名.apk,生成一个释放证书签名和更新在谷歌控制台谷歌地图aumocatically工作。



2.转到Google Developers Console并登录使用您的Google帐户。
从Google Developers Console左上角的项目下拉列表中选择Google Maps API for Work项目。此项目是在您订购Google Maps Mobile SDK for Work时为您创建的。如果您还没有购买SDK的访问权限,请联系销售人员。



3.在左侧边栏中,选择凭证。



4.点击创建新密钥,然后选择Android密钥。



5.在出现的对话框中,输入生成的SHA-1指纹keytool,然后是分号,然后是应用程序的包名称。例如:

BB:0D:AC:74:D3:21:E1:43:67:71:9B:62:91:AF:A1:66: 6E:44:5D:75; com.example.android.mapexample


  1. Google Developers Console回应通过显示密钥为Android应用程序后跟一个四十个字符的API密钥。例如:

    AIzaSyBdVl-cTICSwYKrZ95SuvNw7dbMuDt1KG0



I have a problem with my google map in my android app after publishing. In developer console I've enabled "Google Maps Android API v2", added SHA1 key + package: 4D:8A:1F:C1:2D:8F:AD:EE:13:6A:AE:D0:FB:98:56:A1:76:70:84:2A;com.mypackage, got API KEY and added it in android manifest.

But after I publish my app I got a message:

Ensure that the "Google Maps Android API v2" is enabled. Ensure that the following Android Key exists: API Key: AIzaSyBt8ERGTRg8dMQy62FHoDbhaVs7YrG52iA Android Application (;): AA:08:25:A3:7B:3C:DD:C3:2D:7C:66:CE:67:47:8D:54:B9:3B:8A:21;com.mypackage.

As you can see SHA1 in message and in my project are different. Why? Whats wrong?

解决方案

No need to change the code if the map working good in normal .apk

You need to create a relase certificate fingerprints below is the step to generate the release certificate fingerprints

1.once you make a sign .apk,generate a release certificate signature and update on google console the google map aumocatically works.

2.Go to the Google Developers Console and log in with your Google account. Select the Google Maps API for Work Project from the project drop-down in the top left of the Google Developers Console. This project was created for you when you ordered the Google Maps Mobile SDK for Work. If you have not yet purchased access to the SDK, please contact sales.

3.In the sidebar on the left, select Credentials.

4.Click Create New Key and then select Android key.

5.In the resulting dialog, enter the SHA-1 fingerprint generated by the keytool, then a semicolon, then your application's package name. For example:

BB:0D:AC:74:D3:21:E1:43:67:71:9B:62:91:AF:A1:66:6E:44:5D:75;com.example.android.mapexample

  1. The Google Developers Console responds by displaying Key for Android applications followed by a forty-character API key. For example:

    AIzaSyBdVl-cTICSwYKrZ95SuvNw7dbMuDt1KG0

这篇关于Google地图v2在游戏市场发布后不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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