Android App version number configuration modification

Source: Internet
Author: User

First, Introduction

The Android app version number can be configured in the Androidmanifest.xml file, the tag <manifest> properties Android:versioncode and the Android:versionname configuration version number.

1 <Manifest2     xmlns:android= "Http://schemas.android.com/apk/res/android"3 Xmlns:tools= "Http://schemas.android.com/tools"4  Package= "AppName"5 <!--used for version upgrades, with a value of type int, to determine if the app needs to be upgraded->6 android:versioncode= "1"7     <!--The version number name, which is used to display the app version number that is visible to the user -8 android:versionname= "1.0.0" >9 Ten </Manifest>

  

Android:versioncode-for the device to identify the app version, used for app upgrade, the value of the int type, mainly used to determine whether the app needs a level, the first time is 1, after each increment.

Android:versionname--refers to the version number of the app, which is the version of the app that is commonly said, is mainly displayed to the user to see the app version number. Consists of three parts <major>.<minor>.<point>.

Android App version number configuration modification

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.