解决失败:com.android.Support:appcompat-v7:26.0.0
我在安卓工作室有这个问题。Error:(22, 13) Failed to resolve: com.android.support:appcompat-v7:26.0.0Install Repository and sync projectShow in FileShow in Project Structure dialog
这是我的等级代码:apply plugin: 'com.android.application'android {
compileSdkVersion 26
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.noelly.myapplication"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:26.0.0'}