【Android】Field requires API level 4 (current min is 1): android.os.Build.VERSION#SDK_INT
刚遇到了这个问题:
Field requires API level 4 (current min is 1): android.os.Build.VERSION#SDK_INT
解决方法:
修改 AndroidManifest.xml 中的 uses-sdk 标签,例如:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14" />
参考:Android程序出现错误“Field requires API level 5 (current min is 4)”的解决