Wednesday, September 26, 2018

Failed to resolve: com.android.support:appcompat-v7:26.0.0

credit goes to : StackOverflow

To use support libraries starting from version 26.0.0 you need to add Google's Maven repository to your project's build.gradle file as described here: https://developer.android.com/topic/libraries/support-library/setup.html
allprojects {
        repositories {
            jcenter()
            maven {
                url "https://maven.google.com"
            }
        }
    }
For Android Studio 3.0.0 and above:
allprojects {
        repositories {
            jcenter()
            google()
        }
    }

No comments:

Post a Comment