Android

Difference Between versionName and versionCode in Android Application

Screen_Shot_2014-06-26_at_5.13.43_PM-1
Bottom line
Android Application has two properties named versionName and versionCode in its AndroidManifest.xml file.

Android Application has two properties named versionName and versionCode in its AndroidManifest.xml file.

Both specify the version of the application. versionName is what the user sees and can be any String.

versionCode must be an integer. The Android Market(Google Play) determine the version of the application based on the versionCode. The update of an existing application is checked by the versionCode. The versionCode should be start with “1” and increase this value by one, if you roll-out a new version of your application. When ever a change in the versionCode the Play Store will notify the user about the update.

7 Comments

  1. anudeep

    easy explanation and best selected notes that avoids confusion

  2. sindhuja cynixit

    I would like to thank you for the efforts you have made in writing this article, Its good and Informative.

  3. Aaraa couture

    Wow great post! Thankyou for sharing the information, its very helpful. I want share about Aaraa couture

  4. vcube

    I’d like to thank you for taking the time and making the effort to write this post. I anticipate that you will continue to perform at a high level in the future.
    Thank you for sharing your  post.

  5. Sclinbio

    This is such a great information to start with DevOps, thanks a ton for all your good work!!!
    our https/sclinbio.com/-

  6. Mahesh Ch

    A very clear and informative poat that is easy to follow.

Leave a Comment