Manifest merger failed while adding FirebaseUI library and support libraries

后端 未结 2 1681

I am implementing authentication using google firebase. I am getting this error . If possible please someone suggest solution along with explanation so i can understand.

2条回答
  •  日久生厌
    2021-01-23 12:50

    You can find in the official doc:

    If you would like to use a newer version of one of FirebaseUI's transitive dependencies, such as Firebase, Play services, or the Android support libraries, you need to add explicit compile declarations in your build.gradle for all of FirebaseUI's dependencies at the version you want to use.

    For Auth you have to add these lines in your build.gradle:

    compile "com.android.support:design:26.1.0"
    compile 'com.android.support:appcompat-v7:26.1.0'
    compile "com.android.support:customtabs:26.1.0"
    compile "com.android.support:cardview-v7:26.1.0"
    

提交回复
热议问题