Problem in running Android Studio

0

Friends, I need your help to solve a problem.

When I open Android Studio the following error appears and I can not do anything about it.

Could anyone help me?

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

Thanks for the help!

    
asked by anonymous 21.01.2018 / 00:28

1 answer

1

Add dependency with full version:

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    testCompile 'junit:junit:4.12' 
    compile 'com.android.support:appcompat-v7:26.1.0'
}

And in gradle (app):

allprojects {
    repositories {
        maven { url "https://maven.google.com" }
    }
}

Then just synchronize the project.

    
25.01.2018 / 19:54