Google Maps not working in derived apk (published app)

…衆ロ難τιáo~ 提交于 2019-12-01 08:36:38

Ok, I just solved it (after making this post 13 minutes ago).

So after implementing this solution

Android Studio - Google map still blank on real Android device

I noticed that this error in my Android Monitor when running the apk from my phone:

Android Application (<cert_fingerprint>;<package_name>): <what I assume is a SHA1 fingerprint>;<my_package_name>

So I just copied the SHA1 fingerprint, added it to the API credential restrictions and saved it. And after a few minutes, ran the app again, and it worked.

No need to reupload/update apk.

Hope this helped anyone else.

For derive apk google introduce App singing feature. Google sign you apk agian, so you have to get App Sigining certificate's SHA1 and set it into Google Cloud Platform (wher you set your package name and SHA1)

you find difference of SHA1 keys.

This feature main purpose is, for provide security by google itself, and if you lost key store then you will manage that situation very well.

check this link:

https://support.google.com/googleplay/android-developer/answer/7384423

Official Blog:

https://android-developers.googleblog.com/2017/09/enroll-for-app-signing-in-google-play.html

We need to get the SHA-1 certificate fingerprint from App sinning inside Google Play Console, if you want to release the app to Play store.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!