Guides

Version name and version code are different numbers

The version name is the label people read. The version code is the integer Android uses to decide whether one package is newer than another.

Version name and version code are different numbers
App
LocalSend
versionName
1.18.2
versionCode
643
Filename
LocalSend-1.18.2-android-arm64v8.apk

Apvoxa editorsPublished Reading time 1 min

  • Transistor

    Transistor

    Y20K · Music & Audio

    Listen to internet radio stations from the phone.

    AppsDownload APK

  • Trackbook

    Trackbook

    Y20K · Health & Fitness

    Trace a walk, run, or ride and keep the route on the phone.

    AppsDownload APK

The name on the page

A version name can look like 1.14.0, 6.8, or v4.29.0. The v is part of the name when the APK itself stores it that way. ConnectBot’s file says v1.11.3. OpenTracks’ file says v4.29.0.

Two files can share a familiar name and still be different builds if the package name or the version code differs.

The integer in the package

Android compares version codes as integers. A higher code is the newer package for that package name. The code is not a date, and it does not have to match the digits in the version name.

On this server the code is read from the APK and written next to the name. Acode 1.13.5 has code 1011. Anx Reader 1.14.0 has code 6321. GreenStash 4.4.0 has code 440.

Check both before you install

Match the version name, the version code, and the filename with the release you meant to download. A matching name with a different code is not the same build.

Neither number says the app is safe. They only tell you which build the file claims to be.

Previous: What the SHA-256 on this server checksNext guide: What counts as the official file here

Version name and version code are different numbers · Apvoxa