As mentioned in the title, Maps activity is shown blank (with the Google logo at the bottom) after I downloaded the app. I know this question has been asked many times, but none of the solutions can solve my problem.
This is what I have done so far:
- The generated Google Maps Release API key (signed SHA-1) after the official guide here and placed it under the release / res / values / google_maps_api.xml
- Put the hardcode release API key in AndroidManifest.xml
- Clean and rebuild project
This is the result:
- Maps activity just worked fine if the release.apk application was manually installed on the device before downloading to the Play Store.
- Maps activity is displayed empty if app-release.apk after downloading the release-app.apk application to the Play Store.
Decision:
This answer solved the problem that I am facing. The reason the Maps activity is shown to be empty is because Google Play is re-signing the application using the original application signing key that I provided. So just copy Google SHA-1 and paste it into the console where the Google Map API key is generated.
source share