android – Firebase远程配置提取失败,用户未经授权

android – Firebase远程配置提取失败,用户未经授权,第1张

概述我正在尝试设置我的生产应用程序以使用远程配置,但我得到一个FirebaseRemoteConfigFetchException.该项目已经部署,我们使用FCM,Crashlytics和动态链接.如果我在firebase上使用dev项目,一切正常.所以我不认为这是google-service.json配置.配置之间的唯一区别是在生产实例中我有SHA证书指纹设置. 2019-02-08 22:59:5 我正在尝试设置我的生产应用程序以使用远程配置,但我得到一个FirebaseRemoteConfigFetchException.该项目已经部署,我们使用FCM,Crashlytics和动态链接.如果我在firebase上使用dev项目,一切正常.所以我不认为这是Google-service.Json配置.配置之间的唯一区别是在生产实例中我有SHA证书指纹设置.

2019-02-08 22:59:52.755 19724-19744/? W/System.err:
java.io.IOException:
com.Google.androID.gms.internal.firebase_remote_config.zzas.read()
returned value out of range -1..255: -117 2019-02-08 22:59:52.755
19724-19744/? W/System.err: at
java.util.zip.GZIPinputStream.readubyte(GZIPinputStream.java:273)
2019-02-08 22:59:52.755 19724-19744/? W/System.err: at
java.util.zip.GZIPinputStream.readUShort(GZIPinputStream.java:260)
2019-02-08 22:59:52.755 19724-19744/? W/System.err: at
java.util.zip.GZIPinputStream.readheader(GZIPinputStream.java:165)
2019-02-08 22:59:52.755 19724-19744/? W/System.err: at
java.util.zip.GZIPinputStream.(GZIPinputStream.java:80)
2019-02-08 22:59:52.755 19724-19744/? W/System.err: at
java.util.zip.GZIPinputStream.(GZIPinputStream.java:92)
2019-02-08 22:59:52.756 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzad.getContent(UnkNown
Source:46) 2019-02-08 22:59:52.756 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzd.zza(UnkNown
Source:12) 2019-02-08 22:59:52.756 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzm.zza(UnkNown
Source:14) 2019-02-08 22:59:52.756 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzg.zzb(UnkNown
Source:5) 2019-02-08 22:59:52.756 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzaa.zzad(UnkNown
Source:178) 2019-02-08 22:59:52.756 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzf.zzi(UnkNown
Source:51) 2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzer.zzc(UnkNown
Source:41) 2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzer.zzb(UnkNown
Source:23) 2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzer.zza(UnkNown
Source:149) 2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
com.Google.androID.gms.internal.firebase_remote_config.zzes.then(UnkNown
Source:6) 2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
com.Google.androID.gms.tasks.zzf.run(UnkNown Source:2) 2019-02-08
22:59:52.757 19724-19744/? W/System.err: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
2019-02-08 22:59:52.757 19724-19744/? W/System.err: at
java.lang.Thread.run(Thread.java:764) 2019-02-08 22:59:52.757
19724-19744/? E/FirebaseRemoteConfig: Fetch Failed! Server responded
with an error.
com.Google.androID.gms.internal.firebase_remote_config.zzd: 403 ForbIDden
at com.Google.androID.gms.internal.firebase_remote_config.zzm.zza(UnkNown
Source:14)
at com.Google.androID.gms.internal.firebase_remote_config.zzg.zzb(UnkNown
Source:5)
at com.Google.androID.gms.internal.firebase_remote_config.zzaa.zzad(UnkNown
Source:178)
at com.Google.androID.gms.internal.firebase_remote_config.zzf.zzi(UnkNown
Source:51)
at com.Google.androID.gms.internal.firebase_remote_config.zzer.zzc(UnkNown
Source:41)
at com.Google.androID.gms.internal.firebase_remote_config.zzer.zzb(UnkNown
Source:23)
at com.Google.androID.gms.internal.firebase_remote_config.zzer.zza(UnkNown
Source:149)
at com.Google.androID.gms.internal.firebase_remote_config.zzes.then(UnkNown
Source:6)
at com.Google.androID.gms.tasks.zzf.run(UnkNown Source:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764) 2019-02-08 22:59:52.759 19724-19754/? E/FirebaseRemoteConfig: Fetch Failed!
com.Google.firebase.remoteconfig.FirebaseRemoteConfigFetchException:
Fetch Failed: The user is not authorized to access the project. Please
make sure you are using the API key that corresponds to your Firebase
project.
Check logs for details.
at com.Google.androID.gms.internal.firebase_remote_config.zzer.zzc(UnkNown
Source:77)
at com.Google.androID.gms.internal.firebase_remote_config.zzer.zzb(UnkNown
Source:23)
at com.Google.androID.gms.internal.firebase_remote_config.zzer.zza(UnkNown
Source:149)
at com.Google.androID.gms.internal.firebase_remote_config.zzes.then(UnkNown
Source:6)
at com.Google.androID.gms.tasks.zzf.run(UnkNown Source:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

解决方法 挖了一点,然后看着各处,我发现由于某种原因我不得不去 https://console.developers.google.com – >启用API和服务 – > Firebase远程配置,并启用该API.完成后,一切都开始工作了.

我希望这有助于将来的人欢呼!

总结

以上是内存溢出为你收集整理的android – Firebase远程配置提取失败,用户未经授权全部内容,希望文章能够帮你解决android – Firebase远程配置提取失败,用户未经授权所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1121667.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存