I have implemented fabric on my android app but it isn't reporting crashes on dashboard.
Here is my build.gradle
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://maven.google.com'}
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.0.1'
// Add the Fabric Crashlytics plugin.
classpath 'io.fabric.tools:gradle:1.31.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
I have added plugin and dependency in app.gradle
apply plugin: 'io.fabric'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
I also have added meta data in manifest
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="true" />
And I am testing it by crashing the app by the below command
Crashlytics.getInstance().crash();
Please go to https://www.fabric.io/(your_organization)/android/apps/(your_app_id) . Check if it is not migrated to the Firebase, then please migrate it.
It will appear on firebase crashylitic dashboard only if it is migrated. - https://console.firebase.google.com/u/0/project/(your_project_id)/crashlytics
You can confirm it under project settings - integration https://console.firebase.google.com/u/0/project/(your_project_id)/settings/integrations
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.