3

I am trying to start Firebase Crashlytics in my android project but for some reason the crashlytics dashboard do not refresh after running the project in a real device, I can not get past this window Screen shot from firebase console, I also wait for days but nothing happened.
Here is the build.gradle(Project):

buildscript {
repositories {
 jcenter()
 maven {
 url 'https://maven.google.com/'
 name 'Google'
 }
 maven {
 url 'https://maven.fabric.io/public'
 }
 google()
}
dependencies {
 //classpath 'com.android.tools.build:gradle:2.0.0'
 classpath 'com.android.tools.build:gradle:3.1.4'
 classpath 'com.google.gms:google-services:4.0.0'
 classpath 'io.fabric.tools:gradle:1.25.4'
 // NOTE: Do not place your application dependencies here; they belong
 // in the individual module build.gradle files
}
}
allprojects {
 repositories {
 maven {
 url 'https://maven.google.com/'
 name 'Google'
 }
 jcenter()
 }
}
task clean(type: Delete) {
 delete rootProject.buildDir
}

and the build.gradle(Module):

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
 signingConfigs {
 }
 compileSdkVersion 27
 buildToolsVersion '27.0.3'
 defaultConfig {
 multiDexEnabled true
 applicationId "com.example.example"
 minSdkVersion 19
 targetSdkVersion 27
 versionCode 2
 versionName '1.0.2'
 }
 buildTypes {
 release {
 minifyEnabled false
 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 signingConfig signingConfigs.config
 }
 }
 productFlavors {
 }
}
dependencies {
 implementation project(':wheel-release')
 implementation fileTree(include: ['*.jar'], dir: 'libs')
 testImplementation 'junit:junit:4.12'
 implementation 'com.android.support:customtabs:27.1.1'
 implementation 'com.android.support:appcompat-v7:27.1.1'
 implementation 'com.android.support:design:27.1.1'
 implementation 'com.android.support:cardview-v7:27.1.1'
 implementation 'pl.droidsonroids.gif:android-gif-drawable:1.1.14'
 implementation 'com.squareup.picasso:picasso:2.5.2'
 implementation('com.facebook.android:facebook-android-sdk:4.5.0') {
 exclude module: 'bolts-android'
 exclude module: 'support-v4'
 }
 implementation 'com.google.android.gms:play-services-auth:15.0.1'
 implementation 'com.dlazaro66.qrcodereaderview:qrcodereaderview:2.0.1'
 implementation 'com.google.firebase:firebase-core:16.0.1'
 implementation 'com.google.firebase:firebase-auth:16.0.2'
 implementation 'com.google.firebase:firebase-messaging:17.1.0'
 implementation 'com.crashlytics.sdk.android:crashlytics:2.9.4'
 implementation 'com.google.firebase:firebase-appindexing:16.0.1'
 implementation fileTree(dir: 'libs', include: ['*.aar'])
 implementation 'com.android.support:support-v13:27.1.1'
 androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2', {
 exclude group: 'com.android.support', module: 'support-annotations'
 }
}
apply plugin: 'com.google.gms.google-services'

Any ideas?

asked Aug 24, 2018 at 14:33
1
  • If no crash has occured, it is normal that nothing is showing up Commented Aug 24, 2018 at 15:02

5 Answers 5

2

Before

enter image description here

AFAIK Fabric is deprecated. So in my case adding this meta-data worked

<meta-data 
 android:name="firebase_crashlytics_collection_enabled" 
 android:value="true" />

After:

enter image description here

Where to add in AndroidManifest.xml ?

<application>
 <meta-data/>
 <activity/>
</application>
answered Aug 13, 2020 at 0:40
Sign up to request clarification or add additional context in comments.

1 Comment

Hey still not updated can you help me on this.
1

In my case, I removed from AndroidManifest:

<meta-data
 android:name="io.fabric.ApiKey"
 android:value="API Key" />
answered Jun 5, 2019 at 13:53

Comments

0

i had the same problem when i updated Firebase Crash Reporting to Crashlytics.

Try this:

-Update your google-services.json file from Firebase Console

-Add these lines to your AndroidManifest.xml

<meta-data 
 android:name="firebase_crashlytics_collection_enabled" 
 android:value="false" />
<meta-data
 android:name="io.fabric.ApiKey"
 tools:node="remove"/>

-After edit generate a crash in your app

answered Aug 24, 2018 at 14:58

Comments

0

in order not to "upgrade" into the wrong direction:

<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
<meta-data android:name="firebase_crash_collection_enabled" android:value="false"/>
<!-- <meta-data android:name="io.fabric.ApiKey" android:value=""/> -->
answered Aug 24, 2018 at 15:20

Comments

0

Add to manifest

<meta-data 
android:name="firebase_crashlytics_collection_enabled" 
android:value="true" />
answered Aug 13, 2020 at 12:19

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.