we often find this warning in Androidmanifest.xml when developing an 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 reminds us that there is no 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 get rid of this warning is to uses-sdk The android:targetsdkversion attribute in the tag changes to the latest SDK version on your computer , such as the latest SDK on my Computer is android4.4, It's version number is , then I should write "android:targetsdkversion=", so that will not be an error, if your computer's SDK is android4.0, then android:targetsdkversion= "" "can be changed .
of course, we can ignore this warning, after all, the market Android version is still more 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 for a period of time may be loaded with the corresponding Android High-version phones, so we can set android:targetsdkversion as the latest 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