We often found this warning in Androidmanifest.xml when developing the app Warining: "Not targeting the latest versions of Android; Compatibility modes apply. Consider testing and updating this version. Consult the Android.os.Build.VERSION_CODES Javadoc for details. "
Android Runtime and Dalvik will decide whether to work under "Compatibility Mode" based on target SDK version, which is to turn off the state of the new mechanisms and experience optimizations in the new version. Targetsdkversion If the setting is low, it is equivalent to shutting down all the new features and mechanisms of the high version, including "Screen adaptive", "Hardware acceleration".
My understanding is that this warning is a reminder that we do not have a match using the latest SDK version, which may cause the app to be unable to take advantage of the latest features or functionality on the latest system, and the way to remove this warning is to put the USES-SDK tag in android: Targetsdkversion property to the latest SDK version on your computer, such as the latest SDK on my computer is android4.4, its version number is 19, then I should write "android:targetsdkversion=" 19 ", This will not be an error, if your computer's SDK is android4.0, then android:targetsdkversion= "14" can be changed.
Of course, we can ignore this warning, after all, the market on the Android version is still slower than the development of the latest version of the SDK for a period of time, we have to adapt to the high version, but also wait a while to load the corresponding Android version of the mobile phone, so we can be android: Targetsdkversion is the newest or most popular version of the current market. In addition to the development of the app is also required to conduct a full range of testing: www.ineice.com.
Remove Androidmanifest.xml uses-sdk Warning method