Android Development: "Gradle Recipes for Android" read Note 1.2

Source: Internet
Author: User

In Android development, you will need to configure the minimum and target versions of the Android SDK using the app, which is the Bulidl.gradle Android module setting. The following settings are available by default:

  1. ApplicationID, which is the app's package name, must be unique in the Google App Store and cannot be modified throughout the app's lifecycle, and will be considered a new app.
  2. Minsdkversion, set the minimum version of the SDK that the app supports. In the Google App Store, devices below this version don't see the app
  3. Targetsdkversion, set the target version of the app
  4. Versioncode, version number, often used at the time of the update
  5. Versionname, the app version information displayed to the user

Before going to Gradle, the old project configuration minsdkversion and Buildtoolsversion are set in the <users-sdk> tag in manifest, which is not recommended, These settings are overwritten by the settings in the Gradle file.

Android Development: "Gradle Recipes for Android" read Note 1.2

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.