Hi, I’m facing an issue while updating an enterprise Android app. I uploaded a new APK with a higher version code, but devices still install the old version. Any idea what might be wrong?
APK updateSolved
Replies (4)
Hi @ronnie, thanks for reaching out.
For enterprise app updates, both the version code and version name must be incremented.
Could you please:
- Check the app details in the Hexnode portal and verify the version code and version name in your updated APK?
- Review the Action History to see if there are any errors during deployment?
Regards,
Sienna Carter
Hexnode UEM
Thanks for the response. I checked, and now I’m getting an error: “Version code and version name of the app needs to be different.” It won’t let me upload the update unless I uninstall the existing app. Is that expected?
Hi @ronnie,
Yes, that error usually appears when the system detects a conflict with the existing app version. If you are using the same app identifier (bundle ID) but not properly incrementing both version fields, the update may fail.
As a workaround, you can uninstall the existing app from the devices and, then install the new APK.
Regards,
Sienna Carter
Hexnode UEM
Got it. That worked.