com.google.firebase.auth.FirebaseAuth未链接

Nob*_*Tad 11 android firebase firebase-realtime-database

我在一个单独的Android工作室项目中尝试Firebase推送通知并且它工作但是当我将它集成到现有项目中时我遇到了这个问题.

错误:D/FirebaseApp:com.google.firebase.auth.FirebaseAuth未链接.跳过初始化.

依靠:

 dependencies {
        compile fileTree(dir: 'libs', include: ['*.jar'])
        androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
            exclude group: 'com.android.support', module: 'support-annotations'
        })

       compile project(':library')
      compile 'com.android.support:appcompat-v7:25.3.1'


        compile 'com.baoyz.swipemenulistview:library:1.3.0'


        compile 'de.hdodenhof:circleimageview:2.1.0'
    compile 'com.squareup.okhttp3:okhttp:3.2.0'
    }
    apply plugin: 'com.google.gms.google-services' 
Run Code Online (Sandbox Code Playgroud)

小智 0

使用实现而不是编译。另外,请确保您已在项目中实施 Firebase Auth。