将应用程序上传到 Playstore 后,谷歌地图不显示 [英] Google maps not showing after uploading the app to playstore

查看:43
本文介绍了将应用程序上传到 Playstore 后,谷歌地图不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将应用上传到 Playstore 后,Google 地图显示空白屏幕.但是在本地运行时显示地图(在模拟器中).我尝试通过 Playstore 应用签名证书 SHA 指纹更改 google map api 的 SHA1,但仍然显示空白屏幕.

Google maps showing a blank screen after uplaoding the app into playstore. But Map showing when running locally(in emulator). I tried by changing the SHA1 of google map api by Playstore app signing certificate SHA fingerprint but still showing the blank screen.

推荐答案

请先在真机上运行该应用,如果运行正常,请按以下步骤操作.

如果您在开发者控制台中启用了应用签名功能,然后它清楚地写在文档中,上传只有 Google 需要证书才能进行身份验证,并且在安装应用程序之前删除上传证书用户的电话.因此,您还需要提供应用签名证书 SHA在您为 Google Maps API 启用的密钥下.应用程序签名页面是我附上你的截图方便...在图片中我已经标记了您需要提供的内容附加凭据

If u have enabled the App Signing Feature in the Developer Console, then it's clearly written in the documentation that the Upload Certificate is only needed by Google for authentication and that upload certificate is removed before installing the application on the user's phone. So, u also need to give the App Signing Certificate SHA under the key which you have enabled for Google Maps API. The App Signing Page is as I have attached the screenshot for your convenience... In the image I have marked which you need to give as additional credentials

这篇关于将应用程序上传到 Playstore 后,谷歌地图不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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