将应用程序上传到Playstore后,Google地图显示空白屏幕.但是Map在本地运行时显示(在模拟器中).
我尝试通过Playstore应用程序签名证书SHA指纹更改谷歌地图api的SHA1,但仍然显示空白屏幕.
我尝试通过Playstore应用程序签名证书SHA指纹更改谷歌地图api的SHA1,但仍然显示空白屏幕.
解决方法
请先在真实设备中运行应用程序,如果有效,请执行以下操作.
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