I have used firebase as a backend to my application and, as a consequence, I am using firebase auth with firebase UI for authentication but I'm facing an error:
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 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support:design:26.+'
compile 'com.android.support:support-vector-drawable:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
// firebaes dependancies.
compile 'com.firebaseui:firebase-ui-auth:2.1.1'
compile 'com.google.firebase:firebase-core:11.0.2'
compile 'com.google.firebase:firebase-database:11.0.2'
compile 'com.google.firebase:firebase-auth:11.0.2'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
The error I am getting is:
Error:Failed to resolve: com.android.support:customtabs:25.4.0
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:C:/Users/%USERPROFILE%/AndroidStudioProjects/android-client/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
and
Error:Failed to resolve: com.android.support.constraint:constraint-layout:1.1.0-beta1
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:C:/Users/%USERPROFILE%/AndroidStudioProjects/android-client/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
and
Error:Failed to resolve: com.android.support:cardview-v7:25.4.0
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:C:/Users/%USERPROFILE%/AndroidStudioProjects/android-client/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
I went aside with some answers to similar questions in this forum and went to SDK Manager> SDK Tools > Uppdate repositories. But it did not work!!
Any Ideas where this error is coming from?? I am guessing it is because of the android SDK version, Is that a correct guess?
Edit: I am putting %USERPROFILE% instead of my user folder name.