Skip to content Skip to sidebar Skip to footer

Android Dependency Error Compile 'com.android.support:appcompat-v7:26.+'

This was working before I added firebaseui dependency. Now I'm getting this: log Its red lining compile 'com.android.support:appcompat-v7:26.+' and when I hover over it, it says 'a

Solution 1:

The firebaseui internally has a dependency on a specific version of Android support library. The firebase ui configuration contains 26.0.1 as the required support library version.

However your gradle file has a dependency on 26.+ which tells gradle to use the latest in the 26.x.x series and this could be different from 26.0.1. You can solve the issue by using the specific version required by firebase-ui (26.0.1)

Change the gradle file as shown below,

compile'com.android.support:appcompat-v7:26.0.1'compile'com.android.support:support-v4:26.0.1'

Post a Comment for "Android Dependency Error Compile 'com.android.support:appcompat-v7:26.+'"