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.
Add this line inside your application tag in the manifest
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"
tools:replace="android:value" />
exactly as it shows above. This is not your integer directory it is an Android directory.
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"