2
我在我的logcat中得到以下錯誤,同時試圖使用火力地堡崩潰報告:FirebaseCrash:無法初始化崩潰報告
FirebaseCrash: Failed to initialize crash reporting
FirebaseCrash: com.google.firebase.crash.internal.zzg$zza: com.google.android.gms.internal.zzsb$zza: No acceptable module found. Local version is 0 and remote version is 0.
我添加模塊的應用項目,下面和構建gradle這個:
classpath 'com.google.gms:google-services:3.0.0'
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.google.firebase:firebase-ads:9.4.0'
compile 'com.google.firebase:firebase-crash:9.4.0`
apply plugin: 'com.google.gms.google-services'
並在應用程序文件夾中添加了google-services.json
。
我在24小時後使用了Firebase Analytics,第一次更新的時間限制。爲了獲得我在MainCctivity
中添加的第一個錯誤。
FirebaseCrash.report(new Exception("My first Android non-fatal error"));
的谷歌播放我使用的服務是我的模擬器(阿比的Nexus 23,安卓6.0版)52年9月4日的版本(238-127739847)。仍然錯誤顯示在logcat中,我怎樣才能使崩潰報告工作?
您確認設備正在使用最新版本的Google Play服務嗎?擁有舊版Google Play服務有時可能是原因。 –
我使用的Google Play服務是版本9.4.52 – 1234567
您是否試圖將崩潰報告添加到現有的應用程序,或者您是否從頭開始使用全新的最小應用程序,該程序除了嘗試發送報告外什麼都不做?如果您還沒有嘗試過製作最小的應用程序,那麼我們先嚐試一下吧? –