Private app update from the managed google play console unsuccessful

Avatar
expand collapsive

While updating a private app from managed google play iframe I encountered an error Use the original package name for the published app.

This is how I did it from managed google apps tab of the Hexnode portal. I selected Private apps, chose the app, clicked edit and uploaded the new apk and saved it. need help.

All Replies

  • Avatar

    Catherine George

    Moderator

    Catherine George

    Moderator

    Happy to help you @Riker!

    The steps that you performed are exact. However, as you update any private app from the Google Play console, you should be mindful of certain other factors. While preparing the updates, ensure that the newly developed app meets the following criteria:

    1. The package name of the new app must be the same as the package name of the current version.
    2. The version code of the latest APK should be greater than the current version.
    3. The newly uploaded app bundle or APK must be signed with the same signature.

    Since you have come across the error stating the requirement of the original package name, you might have uploaded a version with a different package name. Kindly ascertain that the package names of both versions are identical.

    I hope it helps you. Feel free to contact us for more queries.

    Greetings!
    Catherine George
    Hexnode UEM

  • Avatar

    Riker Mccarthy

    Participant

    Riker Mccarthy

    Participant

    That was helpful. I verified both the package names and found them different. May b the next time when developer creates an update if it has the same package name as its older version I will not run into similar situation?

  • Avatar

    Catherine George

    Moderator

    Catherine George

    Moderator

    Exactly. Google Play’s unique package name rules require both versions of an app to have the same package name. When they are the same, the APK is uploaded seamlessly.

  • Avatar

    Betty

    Participant

    Betty

    Participant

    What is this “The newly uploaded app bundle or apk must be signed with the same signature.” Is it mandatory to sign all apks/bundle we develop?

  • Avatar

    Catherine George

    Moderator

    Catherine George

    Moderator

    @Betty Not necessarily always! But Android wants an APK to be digitally signed using a certificate before it can be installed/updated on a device.

  • Avatar

    Riker Mccarthy

    Participant

    Riker Mccarthy

    Participant

    Upload is successful now. But how shud I push the update to the devices?

  • Avatar

    Catherine George

    Moderator

    Catherine George

    Moderator

    Well. The private apps that were installed on the devices using the Mandatory Apps policy get automatically updated. On the contrary, if they were pushed via the Install Application action, you will have to repeat the action across the target devices once again.

  • Avatar

    Riker Mccarthy

    Participant

    Riker Mccarthy

    Participant

    Okay, it worked fine. Thank u.

  • Avatar

    Catherine George

    Moderator

    Catherine George

    Moderator

    @Riker Cheers!