This question already has an answer here:
- Cannot install Support repository and sync project in Android Studio 4 answers
I've created a new project, but when it finish the first compile the new project return an error:
Error:Could not find common.jar (android.arch.core:common:1.1.0).
Searched in the following locations:
https://jcenter.bintray.com/android/arch/core/common/1.1.0/common-1.1.0.jar
I've really no idea how to resolve it, hope you can help me!
Screenshots on how i'm creating a new project:
Build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
setting.gradle
include ':app'
I've added the gradle files because i'm thinking there is a problem there.