使用android(23)上的最新版本和com.android.support:appcompat -V7:23.0.1和com.android.support:design:23.0.1錯誤:(20,118)找不到與給定名稱匹配的資源(在'drawable'處,值爲'@ drawable/abc_list_selector_disabled_holo_dark')
我收到以下錯誤
Error:(20, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_dark').
在類似的案件在計算器我看到的版本號之間不匹配,如誤差克的following case
我的搖籃文件看起來像這樣:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "a.b.c.d.defg"
minSdkVersion 7
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
}
}
非常感謝共享>在「數值數據」框中 值從0改爲1。我和詹金斯建築有類似的問題,一些目標正在工作,而另一些則沒有,問題在於他們的名字使得路徑超過了255個字符。 – petrumo
是的,將常規文件夾路徑縮短並且不包含文件夾名稱中的任何特殊字符(即@字符)解決了問題。 – jclova