Summary of Android:minsdkversion

Source: Internet
Author: User

When you create a new Android project, you are asked to enter Minsdkversion , and we typically specify the API level that matches the version of the SDK we use. Then, there will be a corresponding property in the Androidmanifest.xml file: android:minsdkversion. Can this attribute be modified? I think I can, but I can't change it casually.

"Android:minsdkversion", is the smallest SDK version, this value is corresponding to different versions of Android API level, such as Android 1.5 corresponds to 3, Android 1.6 corresponds to 4, Android 2.1 corresponds to 7 , Android2.2 corresponds to 8, Android 2.3.3 corresponds to 10, etc... When the user specifies this value, the Android system compiles your application with the SDK version of the specified value.

So, what we specify in Androidmanifest.xml must be a value that is smaller or equal than the API level we created when the Android system compiles with the corresponding version of the SDK. If the modified android:minsdkversion is larger than the API level corresponding to the SDK version in our project, then the Android system will error when compiling.

Summary of Android:minsdkversion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.