亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

服務器返回意外錯誤 - Firebase android

服務器返回意外錯誤 - Firebase android

POPMUISE 2023-06-14 16:02:17
我已將我的應用程序與數據庫和遠程配置連接起來,它工作正常,但我不得不更改與 firebase 關聯的 gmail 帳戶所以我用從 dif 得到的新 json 更新了 google json 文件。gmail 帳戶,現在使用相同的代碼,使用相同的數據庫格式我無法查看它。它說,獲取問題 - 服務器返回意外錯誤我沒有更改代碼,我只是更改了 json 文件(Google 服務)的內容和與 firebase 關聯的帳戶。如何解決這個問題?這是日志:2019-08-20 15:42:30.756 1797-1826/com.appnotification.notificationhistorylog E/FirebaseRemoteConfig: Fetch failed!com.google.firebase.remoteconfig.FirebaseRemoteConfigServerException: Fetch failed: The server returned an unexpected error.     at com.google.android.gms.internal.firebase_remote_config.zzes.zzc(Unknown Source)     at com.google.android.gms.internal.firebase_remote_config.zzes.zzb(Unknown Source)     at com.google.android.gms.internal.firebase_remote_config.zzes.zza(Unknown Source)     at com.google.android.gms.internal.firebase_remote_config.zzer.then(Unknown Source)     at com.google.android.gms.tasks.zzf.run(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)     at java.lang.Thread.run(Thread.java:761)2019-08-20 15:42:30.757 1797-1797/com.appnotification.notificationhistorylog E/TaskError: firebaseremote2019-08-20 15:42:30.757 1797-1797/com.appnotification.notificationhistorylog E/TaskError: taskexcep :Fetch failed: The server returned an unexpected error.com.google.firebase.remoteconfig.FirebaseRemoteConfigServerException: Fetch failed: The server returned an unexpected error.com.google.android.gms.tasks.zzu@dd0395b
查看完整描述

1 回答

?
翻翻過去那場雪

TA貢獻2065條經驗 獲得超14個贊

我通過更改 google play 服務類路徑的版本解決了它


        classpath 'com.google.gms:google-services:4.3.0'



        classpath 'com.google.gms:google-services:4.2.0'


查看完整回答
反對 回復 2023-06-14
  • 1 回答
  • 0 關注
  • 188 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號