【发布时间】:2015-11-24 22:15:39
【问题描述】:
在进行 gradle 同步时出现泄漏金丝雀错误:
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'.
我的构建:
compileSdkVersion 17
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.assistek.ediary"
minSdkVersion 12
targetSdkVersion 12
}
dependencies {
compile 'joda-time:joda-time:2.4'
compile 'joda-time:joda-time:2.4'
compile 'joda-time:joda-time:2.2'
compile files('libs/android-support-v13.jar')
compile files('libs/commons-collections-3.2.1.jar')
compile files('libs/commons-lang-2.6.jar')
compile files('libs/commons-net-2.2.jar')
compile files('libs/ksoap2-android-assembly-2.6.0-jar-with-dependencies.jar')
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
}
这个库的构建太旧了?
【问题讨论】: