我已將我的應(yīng)用程序與數(shù)據(jù)庫(kù)和遠(yuǎn)程配置連接起來(lái),它工作正常,但我不得不更改與 firebase 關(guān)聯(lián)的 gmail 帳戶所以我用從 dif 得到的新 json 更新了 google json 文件。gmail 帳戶,現(xiàn)在使用相同的代碼,使用相同的數(shù)據(jù)庫(kù)格式我無(wú)法查看它。它說(shuō),獲取問(wèn)題 - 服務(wù)器返回意外錯(cuò)誤我沒(méi)有更改代碼,我只是更改了 json 文件(Google 服務(wù))的內(nèi)容和與 firebase 關(guān)聯(lián)的帳戶。如何解決這個(gè)問(wèn)題?這是日志: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 回答
翻翻過(guò)去那場(chǎng)雪
TA貢獻(xiàn)2065條經(jīng)驗(yàn) 獲得超14個(gè)贊
我通過(guò)更改 google play 服務(wù)類路徑的版本解決了它
從
classpath 'com.google.gms:google-services:4.3.0'
classpath 'com.google.gms:google-services:4.2.0'
添加回答
舉報(bào)
0/150
提交
取消
