В Android Studio после запуска появляется ошибка в build.gradle
C:\Android\AndroidLessons\AndroidLessons\app\build.gradle
Failed to resolve: com.android.support.constraint:constraint-layout:1.0.2
Error:(27, 13) Failed to resolve: com.android.support.constraint:constraint-layout:1.0.2
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:C:/Android/AndroidLessons/AndroidLessons/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
В build.gradle следуещее:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
}
Когда нажимаю Install Repository and sync project появляется ошибка All packages are not available to for doenload!