I'm using support library version 27.0.0 I get this weird build error. The support library I use is 27.0.0 but it still throws error for 27.0.99
I've tried clean project, invalidating caches in Android studio, restarted my android Studio It did't help.
If I updated my buildtoolversion
and support libraries to 27.0.2 it still throws error for 27.0.99
Error:Could not find com.android.support:customtabs:27.0.99.
Searched in the following locations:
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/support/customtabs/27.0.99/customtabs-27.0.99.pom
file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/support/customtabs/27.0.99/customtabs-27.0.99.jar
https://jcenter.bintray.com/com/android/support/customtabs/27.0.99/customtabs-27.0.99.pom
https://jcenter.bintray.com/com/android/support/customtabs/27.0.99/customtabs-27.0.99.jar
https://repo1.maven.org/maven2/com/android/support/customtabs/27.0.99/customtabs-27.0.99.pom
https://repo1.maven.org/maven2/com/android/support/customtabs/27.0.99/customtabs-27.0.99.jar
https://maven.fabric.io/public/com/android/support/customtabs/27.0.99/customtabs-27.0.99.pom
https://maven.fabric.io/public/com/android/support/customtabs/27.0.99/customtabs-27.0.99.jar
https://jitpack.io/com/android/support/customtabs/27.0.99/customtabs-27.0.99.pom
https://jitpack.io/com/android/support/customtabs/27.0.99/customtabs-27.0.99.jar
https://maven.google.com/com/android/support/customtabs/27.0.99/customtabs-27.0.99.pom
https://maven.google.com/com/android/support/customtabs/27.0.99/customtabs-27.0.99.jar
Required by:
project :app
Please install the Android Support Repository from the Android SDK Manager.
<a href="openAndroidSdkManager">Open Android SDK Manager</a>
Iv'e added maven for support library from google
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
This is my default gradle
config
compileSdkVersion 27
buildToolsVersion "27.0.0"
defaultConfig {
vectorDrawables.useSupportLibrary = true
applicationId "com.pro.test"
minSdkVersion 19
targetSdkVersion 27
versionCode 18
versionName "1.17"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.config
multiDexEnabled true
}
The support library I use is
compile 'com.android.support:appcompat-v7:27.0.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:design:27.0.0'
compile 'com.android.support:support-v4:27.0.0'
compile 'com.android.support:customtabs:27.0.0'
compile 'com.android.support:cardview-v7:27.0.0'