-->

Using other account when uploading signed apk in g

2019-06-02 08:23发布

问题:

Their is no bug with regard to the maps. I already signed the apk with release keystore ,

the API Keys are registered in my account

It perfectly works in any devices.

What's the problem is when it is uploaded with the client account in google play store and downloaded in their device, the map displays white.

Question:

1.Does it affect the application if the API keys are registered to my account and the one who upload the app is not my account ?

回答1:

Answer:

The API key is associated with the apk package and it's keystore and not a user account.

First you need to create a keystore for you app. Refer to http://developer.android.com/tools/publishing/app-signing.html

Next go to https://console.developers.google.com/project and create a project (if don't have one already).

On your project page go to API's & auth > APIs enable Google Maps Android API v2

Next go to API's & auth > Credentials and create a new Key for Android applications. Follow those instructions careful and you it will generate you an API to use on your manifest. (Remember to use the keystore you used to sign your app for play store and not your debug keystore)

More info:

https://developers.google.com/console/help/new/#generatingdevkeys

Good luck



回答2:

I also face this problem . you need to

signed your application with the system from which you generate SHA-1 fingerprint for Google Api

.



回答3:

Check Your API Key whether it is the same with the one in Console and in your Manifest.