I have a Native Android app (Java) that was using fabric crashlytics and it was working fine.
I have migrated to Crashlytics from Fabrics as per this instruction: https://firebase.google.com/docs/crashlytics/get-started?platform=android
Since Fabrics is deprecated, I can't sign in to fabric dashboard anymore and now, the crashes are also not showing in firebase console.
Here is the list of dependencies I have in the Gradle:
Project Level:
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.google.gms:google-services:4.3.4'
// Add the dependency for the Performance Monitoring plugin
classpath 'com.google.firebase:perf-plugin:1.3.1' // Performance Monitoring plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
}
App Level:
dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
/*implementation fileTree(include: ['*.jar'], dir: 'libs')*/
/*implementation('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true;
}*/
// debugImplementation because LeakCanary should only run in debug builds.
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-alpha-3'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
/*implementation "com.google.firebase:firebase-core:$firebase_core"*/
implementation "com.google.firebase:firebase-storage:$firebase_storage"
implementation "com.google.firebase:firebase-database:$firebase_database"
implementation "com.google.firebase:firebase-auth:$firebase_auth"
implementation "com.google.firebase:firebase-analytics:$firebase_analytics"
implementation "com.google.firebase:firebase-crashlytics:$firebase_crashlytics"
// Add the In-App Messaging and Analytics dependencies:
implementation "com.google.firebase:firebase-inappmessaging-display:$firebase_inappmessaging"
//remote config
implementation 'com.google.firebase:firebase-config:19.2.0'
// Add the dependency for the Performance Monitoring library
implementation 'com.google.firebase:firebase-perf:19.0.9'
implementation 'com.firebaseui:firebase-ui-storage:4.3.2'
implementation 'com.google.firebase:firebase-messaging:20.3.0'
implementation 'com.google.android.gms:play-services-analytics:17.0.0'
implementation "com.google.android.gms:play-services-location:$playServices"
implementation 'androidx.multidex:multidex:2.0.1'
//implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.squareup.okhttp3:okhttp:4.0.1'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation "com.github.bumptech.glide:glide:$glide"
implementation 'androidx.navigation:navigation-fragment:2.1.0'
implementation 'androidx.navigation:navigation-ui:2.1.0'
annotationProcessor "com.github.bumptech.glide:compiler:$glide"
annotationProcessor 'androidx.annotation:annotation:1.1.0'
implementation 'com.airbnb.android:lottie:3.4.1'
//razor pay
implementation 'com.razorpay:checkout:1.5.16'
//status progress bar refer DocumentationActivity
implementation 'com.kofigyan.stateprogressbar:stateprogressbar:1.0.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
//paytm
/*implementation('com.paytm:pgplussdk:1.4.4') {
transitive = true;
}*/
implementation 'com.paytm.appinvokesdk:appinvokesdk:0.6'
//implementation 'com.paytm.easypay:easypay:8.5.0-RC-2'
//truecaller sdk
implementation "com.truecaller.android.sdk:truecaller-sdk:1.0.0"
//sms retervier api, truecaller throwing crash if we don't use this api
implementation "com.google.android.gms:play-services-auth-api-phone:17.4.0"
//flex
implementation 'com.google.android:flexbox:2.0.1'
implementation 'com.appyvet:materialrangebar:1.4.7'
//Shimmer Effect
implementation 'com.facebook.shimmer:shimmer:0.1.0@aar'
testImplementation 'junit:junit:4.13'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-process:2.2.0'
implementation 'androidx.lifecycle:lifecycle-service:2.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.2.0'
//noinspection LifecycleAnnotationProcessorWithJava8
annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.2.0' }
question from:
https://stackoverflow.com/questions/65617690/firebase-crashlytics-not-getting-logged-after-migration-from-fabric-android-na 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…