Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Crash not linked

have a project that needs to use xmlns:tools, in this case:

<uses-sdk
    xmlns:tools="http://schemas.android.com/tools"
    android:minSdkVersion="12"
    android:targetSdkVersion="24"
    tools:overrideLibrary="io.huq.sourcekit" />

But Firebase does not work when I use this.

It gives me this error:

com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
like image 820
Fabiano Araujo Avatar asked Sep 22 '16 04:09

Fabiano Araujo


1 Answers

I saw my gradle and I realized that I forgot to put the compile of the firebase crash:

dependencies {
   compile fileTree(include: ['*.jar'], dir: 'libs')
   testCompile 'junit:junit:4.12'
   compile 'com.android.support:appcompat-v7:24.2.0'
   compile 'com.android.support:design:24.2.0'
   compile 'com.android.support:cardview-v7:24.2.0'
   compile 'com.android.support:recyclerview-v7:24.2.0'


   compile 'com.google.android.gms:play-services-ads:9.4.0'
   compile 'com.google.firebase:firebase-core:9.4.0'
}

I added:

compile 'com.google.firebase:firebase-crash:9.4.0'

And work.

like image 81
Fabiano Araujo Avatar answered Nov 17 '22 09:11

Fabiano Araujo