Go to: http://blog.csdn.net/zzf112/article/details/19546859
--------------------------------------------------------------------------------------------
targetSdkVersion is to set the desired SDK version . If this property is set, when the program is executed, if the API version of the target device is exactly equal to this value, it will tell the Android platform that the program has been fully tested in this version and there is no problem. There is no need to turn on the work of compatibility check judgment for this program.
That is to say, if the targetSdkVersion is the same as the API version of the target device, the operation efficiency may be higher.
However, this setting is only a statement, a notification, and will not have a very substantial effect.
For example, if a feature in the SDK version of targetSdkVersion is used, but this feature is not supported in the lower version, then in the lower version When running the program on the API device of , an error may be reported: java.lang.VerifyError. That said, this property won't help you with compatibility testing issues.
When js calls java, if targetSdkVersion is set, there is no problem when targetSdkVersion<17, and it is unsuccessful when targetSdkVersion>=17