Answer the question
In order to leave comments, you need to log in
How to solve Could not find any version that matches com.android.support:appcompat-v7:27.+?
Hello.
Trying to build my first android app
ОС Windwows 10,
Intellige IDEA 2017.2
JDK jdk1.8.0_161
Android API 27 Platform
Gradle 4.6
Android SDK 25.5.2
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not find any version that matches com.android.support:appcompat-v7:27.+.
Versions that do not match:
26.0.0-alpha1
25.3.1
25.3.0
25.2.0
25.1.1
+ 31 more
Required by:
project :app
> Could not find any version that matches com.android.support:design:27.+.
Versions that do not match:
26.0.0-alpha1
25.3.1
25.3.0
25.2.0
25.1.1
+ 21 more
Required by:
project :app
Answer the question
In order to leave comments, you need to log in
in the app/build.gradle file we change
// compile 'com.android.support:appcompat-v7:27.+'
compile 'com.android.support:appcompat-v7:27.0.0'
mavenLocal()
mavenCentral()
maven { // <-- Add this
url 'https://maven.google.com/'
name 'Google'
}
maven {
url "https://maven.google.com"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question