我的应用中的Google地图不可见

[英]Google maps in my app is not visible


When I launch my app I get the following error:

当我启动我的应用程序时,我收到以下错误:

V/GoogleSignatureVerifier(4962): com.myapp.application signature not valid.  Found: 
V/GoogleSignatureVerifier(4962): MIIDDTCCAfWgAwIBAgIEO0I8qTANBgkqhkiG9w0BAQsFADA3MQswCQYDVQQGEwJVUzEQMA4GA1UE
V/GoogleSignatureVerifier(4962): ChMHQW5kcm9pZDEWMBQGA1UEAxMNQW5kcm9pZCBEZWJ1ZzAeFw0xNTA0MjEyMDM4NDRaFw00NTA0
V/GoogleSignatureVerifier(4962): MTMyMDM4NDRaMDcxCzAJBgNVBAYTAlVTMRAwDgYDVQQKEwdBbmRyb2lkMRYwFAYDVQQDEw1BbmRy
V/GoogleSignatureVerifier(4962): b2lkIERlYnVnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn/4shkSGhYP1pwMY4bFc
V/GoogleSignatureVerifier(4962): dKuMg6JyTdUON6XF8VxifADMYd/WwgzsETT+AHZXlo6RwQFhtwbxrvmuhBOMip2ivhmRGT8JpBcI
V/GoogleSignatureVerifier(4962): FqjCOxLzw3B3psZhnioZwCBTKBrCau8/q0XW40lXa/OCy2wA4EZs2ThaqwqgdGwpKXN+qHNHAFAS
V/GoogleSignatureVerifier(4962): 0g/SdupsSID+WctlL2XdCo50Jq/bJJAWQBz1SL03xBWUikuiWKM6mz/6Up8oE4WtZhU7V83R7FYM
V/GoogleSignatureVerifier(4962): XmRU4CghlvczG+ujCrZwSsYttsZgz2nb4NY2w9fvevAXgSB/N6JfOatnccW5vmukkm6g12iysA9u
V/GoogleSignatureVerifier(4962): hS3EjVb01bKyMdoXhQIDAQABoyEwHzAdBgNVHQ4EFgQUByeU0uE1tXyrL0UimKkJH2CbeXIwDQYJ
V/GoogleSignatureVerifier(4962): KoZIhvcNAQELBQADggEBABPPel3zEbk6/ZzwfvIS0z8IqvYgzxzxSZFEAp+PrlEEyk+IVHQgQAVS
V/GoogleSignatureVerifier(4962): I6JM9rNkxR2hvQHP3V9pd2d5bYhsCBZFSn6drOmnBrnABXH8e4OdqN9fRcKn+acfbZ+yBvZoVbr/
V/GoogleSignatureVerifier(4962): IhRvRrpLDtDNnD4kUoLfTgw/Xygdiq5/aU5WSfXdrUx6Va0vg6uJZY6Yq4J4a/R+/T7lLwzQgerq
V/GoogleSignatureVerifier(4962): eNUvY9HbcmegJDKMGeyc4Po8akAt9gDRo4nswuP0Sve8oSMqBEfO8ItTsIPx3UVEXuYUeC8e8nwb
V/GoogleSignatureVerifier(4962): fyhDXSFAo59Y1+NWcZNsGdum95YV8oZloF7+4fFqBwz7w0mb+M+JfY1sg7I=

I have read that debug.keystore default key has only 1 year validity, so one must delete it afterwards to let android studio generate a new one. Eventually I did it but the error remains still.

我已经读过debug.keystore默认密钥只有1年的有效期,所以必须先删除它才能让android studio生成一个新的。最终我做到了,但错误仍然存​​在。

Google maps in my app is not visible anymore after this move...

此举后,我的应用程序中的Google地图不再可见...

Please help if you can.

如果可以的话请帮忙。

3 个解决方案

#1


35  

This warning is caused by a bug introduced in Google Play Services 9.x. It can be safely ignored, it will not cause any issues with your app and should go away with a future update to play services.

此警告是由Google Play Services 9.x中引入的错误引起的。它可以被安全地忽略,它不会导致您的应用程序出现任何问题,并且应该在将来更新以播放服务。

This issue has been acknowledged by an engineer at Google in the answer to this post.

谷歌的一位工程师在回答这篇文章时已经承认了这个问题。

#2


3  

When you delete debug.keystore then SHA1 fingerprint also changes. So you will need to get the latest SHA1 and then update it to the google map api developer console to get the Map.

删除debug.keystore时,SHA1指纹也会更改。因此,您需要获取最新的SHA1,然后将其更新到谷歌地图api开发者控制台以获取地图。

#3


2  

The only solution for me was to downgrade the Google Play Services to version 8.7.02 on my devices. I know it is not a long term solution but it works for my tests, and I hope I'll find a better solution in the future...

对我来说,唯一的解决方案是将Google Play服务降级到我的设备上的版本8.7.02。我知道这不是一个长期的解决方案,但它适用于我的测试,我希望将来能找到更好的解决方案......


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2016/05/13/3a687d098d223c9701b5914a4d51613b.html



 
粤ICP备14056181号  © 2014-2019 ITdaan.com

赞助商广告