MinSdkVersion: What is the difference between maxSdkVersion targetSdkVersion and target? targetsdkversion
MinSdkVersion
Description: The minimum sdk version supported by the app.
Purpose: If the mobile phone SdkVersion is smaller than the minSdkVersion defined in the app, the android system does not allow the app to be installed.
Location: AndroidManifest. xml
Default Value: 1
Check time: app Installation
MaxSdkVersion
Description: The maximum sdk version supported by the app.
Purpose: If the mobile phone SdkVersion is greater than the maxSdkVersion defined in the app, the android system does not allow the app to be installed.
Location: AndroidManifest. xml
Default Value: None
Check time: app installation (not detected after Android 2.0.1)
TargetSdkVersion
Description: Target SdkVersion.
Purpose: The ID has been fully tested in the specified SdkVersion. The Android system will not perform compatibility processing on this version.
If the targetSdkVersion = 16 app runs on a mobile phone with SdkVersion = 16, the Android system will not perform any compatibility processing, thus improving the performance.
If the targetSdkVersion = 16 app runs on a mobile phone with SdkVersion = 17, the Android system needs to perform compatibility processing to ensure that the app still runs as 16
If the targetSdkVersion = 16 app runs on a mobile phone with SdkVersion = 15, an error may occur. Therefore, at least ensure that the app passes the test on the minSdkVersion mobile phone.
Location: AndroidManifest. xml
Default Value: minSdkVersion
Check time: Runtime
Target
Description: build target.
Purpose: SdkVersion used to compile and build the project
Definition location: project. properties
Default Value: None
Check time: compile and generate. apk
Attached Android SdkVersion
Description: Android SDK version.
Query: Mobile Phone settings-about mobile phone-Android version
Relationship between the Android platform VERSION (Build. VERSION. SDK), api version (Build. VERSION. SDK_INT), and VERSION code: