Android enterprise app upload fails with duplicate versionCode and versionNameSolved

Participant
Discussion
2 weeks ago Aug 03, 2026

I’m trying to upload an Android enterprise app to Hexnode, but the upload fails with this message: “App upload failed! The version code and the version name of the app need to be different from that of the previous version.”

The confusing part is that I’m trying to add it as a new app. The file name and app name are different from what I uploaded before, so I don’t understand why Hexnode thinks there is a previous version. Do Android app versions need to be unique globally, or only inside our own Hexnode portal?

Replies (1)

Marked SolutionPending Review
Hexnode Expert
2 weeks ago Aug 03, 2026
Marked SolutionPending Review

Hello @im_dany ,

Hexnode UEM identifies Android enterprise apps by the app’s package name, not by the APK file name or the display name shown to users.

If the APK you are uploading has the same Android package name as an app already present under the Apps tab, Hexnode treats it as an update to that existing app. In that case, the new build must have version values that are different from the version already uploaded.

For Android apps, check the following before uploading again:

  1. Confirm whether an app with the same package name already exists in the Hexnode app repository.
  2. Increment the Android versionCode, for example from 1 to 2.
  3. Update the versionName, for example from 1.0 to 1.1.
  4. Rebuild the APK and upload the new build.

The versionCode and versionName do not need to be unique across all Hexnode UEM portals. The uniqueness requirement applies only within your own portal for that specific app/package name.

Regards,
Simon Scott
Hexnode UEM

Save