Skip to content Skip to sidebar Skip to footer

Could Not Find Common.jar (android.arch.core:common:1.1.0)

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

Solution 1:

Add maven { url 'https://maven.google.com' } before jcenter() in

allprojects {
    repositories {
        maven { url 'https://maven.google.com' }jcenter()
    }
}

it will work


Update :

Note : google() and maven { url 'https://maven.google.com' } are pointing to the same repo, google() is a Google's Maven repo shortcut. You can add google() instead of maven { url 'https://maven.google.com' }IF you are using :

Gradle >= v.4.x+

Android Studio >= 3.x+

Gradle plugin for Android >= 3.x+

Solution 2:

In both sections, you need to add Google repo

 repositories {
    google() 
    jcenter()
}

If you upgraded Android Studio this would be done for you

Post a Comment for "Could Not Find Common.jar (android.arch.core:common:1.1.0)"