Error:Failed to resolve: com.android.support:appcompat-v7:23.2.0
這是我在嘗試編譯我的android應用程序時得到的錯誤。我環顧四周已經問過這個問題,並嘗試更新我的SDK,Android的重新Studio和CHANE許多問題:compile (com.android.support:appcompat-v7:+)
並沒有什麼作品,Android的工作室仍然抱怨說,他無法解決。有人知道它爲什麼會發生?這是我的搖籃文件:解決Android相關問題的解決方法
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
lintOptions {
abortOnError false
}
defaultConfig {
applicationId "com...."
minSdkVersion 16
targetSdkVersion 23
versionCode 35
versionName "1.5"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.android.support:cardview-v7:23.2.0'
compile 'com.android.support:design:23.2.0'
compile 'com.google.android.gms:play-services-appindexing:8.4.0'
compile 'com.android.support:appcompat-v7:23.2.0'
compile project(':library')
compile 'net.steamcrafted:materialiconlib:1.0.8'
compile 'com.pes.materialcolorpicker:library:1.0.2'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:[email protected]'
compile 'com.daimajia.androidanimations:library:[email protected]'
compile('de.psdev.licensesdialog:licensesdialog:1.8.0')
compile 'com.github.paolorotolo:appintro:3.4.0'
compile 'com.github.deano2390:MaterialShowcaseView:1.0.6'
compile "com.oneskyapp:screenshot:0.7.4"
compile('com.mikepenz:materialdrawer:[email protected]') {
transitive = true
}
}
的可能重複http://stackoverflow.com/questions/29284236 /失敗到決心-COM-Android的supportappcompat-v722和-COM-Android的supportre –
我試着做他們說什麼,我peroblem保持不變。 –