Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6889311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:08:25+00:00 2026-05-27T06:08:25+00:00

Do the versionName and versionNumber have to be changed if a minor change is

  • 0

Do the versionName and versionNumber have to be changed if a minor change is made in an Android Application or is it sufficient to change just one?

What is the difference between the two?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:08:25+00:00Added an answer on May 27, 2026 at 6:08 am

    Setting Application Version

    To define the version information for your application, you set attributes in the application’s manifest file. Two attributes are available, and you should always define values for both of them:

    * android:versionCode — An integer value that represents the version of the application
      code, relative to other versions.
    

    The value is an integer so that other applications can programmatically evaluate it, for example to check an upgrade or downgrade relationship. You can set the value to any integer you want, however you should make sure that each successive release of your application uses a greater value. The system does not enforce this behavior, but increasing the value with successive releases is normative.

    Typically, you would release the first version of your application with versionCode set to 1, then monotonically increase the value with each release, regardless whether the release constitutes a major or minor release. This means that the android:versionCode value does not necessarily have a strong resemblance to the application release version that is visible to the user (see android:versionName, below). Applications and publishing services should not display this version value to users.

    * android:versionName — A string value that represents the release version of the
      application code, as it should be shown to users.
    

    The value is a string so that you can describe the application version as a .. string, or as any other type of absolute or relative version identifier.

    As with android:versionCode, the system does not use this value for any internal purpose, other than to enable applications to display it to users. Publishing services may also extract the android:versionName value for display to users.

    This link contains more information and the following example:

    AndroidManifest.xml

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.example.package.name"
          android:versionCode="2"
          android:versionName="1.1">
        <application android:icon="@drawable/icon" android:label="@string/app_name">
            ...
        </application>
    </manifest>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How Do I Pull The Application Version Listed in AndroidManifest.xml From Java, android:versionName specifically?
I have two apps: the first one is a remote service. It's manifest is:
I have the following Manifest: <manifest xmlns:android=http://schemas.android.com/apk/res/android package=com.myapp.MainActivity android:versionCode=1 android:versionName=1.0.0 > <supports-screens android:anyDensity=false android:largeScreens=true
The AndroidManifest.xml contains the version name of the application, something like android:versionName=1.0 Now the
I have to store versionName of a template. VersionName is autoincremented.If last versionName is
For an improved bugreporting I'd like if the tag android:versionName automatically contains the number
I have an app on the android market, which I periodically update with new
I have the following problem. We have build an app with mono for android.
I have published apk to the Android Market, activated and setup for free for
I have published a test app with such manifest <?xml version=1.0 encoding=utf-8?> <manifest xmlns:android=http://schemas.android.com/apk/res/android

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.