Memory leaks 用泄漏金丝雀构建错误

Memory leaks 用泄漏金丝雀构建错误,memory-leaks,leakcanary,Memory Leaks,Leakcanary,执行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"

执行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'

}

此库的构建版本太旧?

请设置compileSdkVersion 21。这将使“android:Theme.Material”可用于您的应用程序