将应用程序上传到Play商店后,为什么Google Maps服务无法正常工作? [英] Why google maps services isn't working after uploading app to Play Store?

查看:65
本文介绍了将应用程序上传到Play商店后,为什么Google Maps服务无法正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序已准备就绪,并且可以很好地运行,然后再将其上传到Google Play商店.

My Application is ready and it well worked before uploading it to Google Play Store.

将我的应用上传到Play商店后,谷歌地图服务无法正常工作.由于某种原因,地图是空的.

After I've uploaded my app to the Play Store, the google maps services didn't work. The map is empty for some reason.

为什么会这样?

推荐答案

您需要获取发布密钥

https://developers.google.com/maps/documentation/android-api/signup#release-cert

对于Linux或OS X,打开终端窗口并输入以下内容:

For Linux or OS X, open a terminal window and enter the following:

keytool -list -v -keystore YOUR_KEY_PATH

对于Windows Vista和Windows 7,运行:

For Windows Vista and Windows 7, run:

keytool -list -v -keystore YOUR_KEY_PATH

就我而言,我正在使用Linux,而我的命令是:

In my case, i'm using Linux and my command was:

keytool -list -v -keystore ~/projects/keys/myapp.jks

得到结果

Alias name: ALIAS NAME
Creation date: Jan 01, 2013
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Android Release, O=Android, C=US
Issuer: CN=Android Release, O=Android, C=US
Serial number: 4aa9b300
Valid from: Mon Jan 01 08:04:04 UTC 2013 until: Mon Jan 01 18:04:04 PST 2033
Certificate fingerprints:
     MD5:  AE:9F:95:D0:A6:86:89:BC:A8:70:BA:34:FF:6A:AC:F9
     SHA1: BB:0D:AC:74:D3:21:E1:43:07:71:9B:62:90:AF:A1:66:6E:44:5D:75
     Signature algorithm name: SHA1withRSA
     Version: 3

这篇关于将应用程序上传到Play商店后,为什么Google Maps服务无法正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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