I need features from Android API-level 11 but if I set targetSdkVersion to 10 then I get the old-style menus that I want (with the menu button). Are these values "legal" to set, or does targetSdkVersion have to be higher or equal to minSdkVersion?
(Note: It seems to work!)
As the document says about the
android:targetSdkVersion,In anycase,
targetSdkVersionshould always be greater than or equal to theminSdkVersion, because in no way can your app run belowminSdkVersion. If you have puttargetSdkVersionless than theminSdkVersionthat means you are telling the android system that you have tested this app on thetargetSdkVersion, but this is not possible (since your app can run on devices only as low asminSdkVersion).Hence by contradiction
targetSdkVersionshould always be greater than equal to theminSdkVersion.