What Is Android App Version Code?
Contents Introduction. Version Code Is a Special Integer Value Which Works as an Internal Version Number. It Is Not Visible to End Users. Android System Uses...
Introduction. Version code is a special integer value which works as an internal version number. It is not visible to end users. Android system uses this number to protect against application downgrades — it is not possible to install new application with version code lower than in currently installed application.
What is version name and version code in Android?
Version Code & Version Name
As you may know, on android you have to define two version fields for an app: the version code (android:versionCode) and the version name (android:versionName). The version code is an incremental integer value that represents the version of the application code.
How do I find the Android version number?
int versionCode = BuildConfig. VERSION_CODE; The version name is used to show the users or the developers of the development sequence. You can add any kind of version name as you want.