我的 Google 地图应用程序出现以下错误
Unable to update local snapshot for com.google.android.libraries.consentverifier#com.example.my_app, may result in stale flags.
java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.example.my_app, sha256=[098355cb7da096c1c7d98fa16db67e136db0a35aa540229aec9f8801f6355789], atk=false, ver=223017031.true (go/gsrlt)
at ahy.s(:com.google.android.gms.dynamite_mapsdynamite@[email protected] /cdn-cgi/l/email-protection (100700-0):3)
at ahy.get(:com.google.android.gms.dynamite_mapsdynamite@[email protected] /cdn-cgi/l/email-protection (100700-0):2)
at aji.g(:com.google.android.gms.dynamite_mapsdynamite@[email protected] /cdn-cgi/l/email-protection (100700-0):2)
at xy.d(:com.google.android.gms.dynamite_mapsdynamite@[email protected] /cdn-cgi/l/email-protection (100700-0):1)
at ya.run(:com.google.android.gms.dynamite_mapsdynamite@[email protected] /cdn-cgi/l/email-protection (100700-0):0)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
昨天工作正常,但现在在模拟器上启动应用程序时,地图是空白的,其余组件(如按钮)完好无损。
我没有更改代码中的任何内容、所有依赖项,并且我的 API 密钥是正确的。
可能是什么问题呢?
我有一个类似的问题,我通过这篇文章解决了:
SecurityException - GoogleCertificatesRslt:不允许 https://stackoverflow.com/questions/64196715/securityexception-googlecertificatesrslt-not-allowed
希望对你有帮助 :)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)