Call requires API level (current min is ): android.content.res.Resources#getBoolean
参考文档:
http://*.com/questions/10322482/android-lint-erroneously-thinks-min-sdk-version-is-1
解决方法:
AndroidManifest.xml文件:
修改或增加minSdkVersion属性:
<uses-sdk
android:minSdkVersion=""
android:targetSdkVersion="" />
clean工程,问题解决。[完]