Why google maps services isn't working after u

2020-05-07 15:53发布

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

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

Why is it happening?

1条回答
Deceive 欺骗
2楼-- · 2020-05-07 16:29

You need to get Key for Release

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

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

keytool -list -v -keystore YOUR_KEY_PATH

For Windows Vista and Windows 7, run:

keytool -list -v -keystore YOUR_KEY_PATH

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

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

And get the result

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
查看更多
登录 后发表回答