I install the SDK for Android 4.4, create a new application (manifest minSdkVersion = 19 and targetSdkVersion = 19), but this code does not work
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
}
Screenshot
Sorry, I find my mistake. I change the project build target in the project properties to 19.
source
share