APK 发布后 Android 谷歌地图不工作 [英] Android Google Maps Not Working After APK Release

查看:31
本文介绍了APK 发布后 Android 谷歌地图不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有包含谷歌地图的 Android 应用程序在发布应用程序之前运行良好,但发布后地图未显示.虽然我在发布后从谷歌控制台添加了 SHA-1 证书指纹并将其添加到重新调整的应用程序中

I have Android app which include Google Maps It was working fine before releasing the app, but after releasing the maps are not shown . Although I've added SHA-1 certificate fingerprint from google console after releasing and added it to the restrected apps

SHA-1 after releasing

API Key Restrictions

So the 2 SHA-1 are included with the package name, the Maps works fine when running the app directly from android studio, but it shows nothing when downloading the app from playstore, any Ideas ?

解决方案

It's because Google Play is signing app with different SHA-1 Fingerprint, so you need to take it and register in google developer's console

这篇关于APK 发布后 Android 谷歌地图不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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