Hi, Emm i put XYZ application to upgrade version 3.1.2 its upgraded but the problem is already XYZ application override the new application it show error (Package appears to corrupt )

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi, Emm i put XYZ application to upgrade version 3.1.2 its upgraded but the problem is already XYZ application override the new application it show error (Package appears to corrupt ). when i uninstall the old application new One is work what will do ???

I take build gradle assembledebug to run in the command prompt to get the build in the output

there two APK is there i take debug APK to put in Emm

Hi,

This usually happens when keystore differs from old version to new version. Probably, new version and old version are built on two different machines and you are using debug version of apk.

Every apk that you want to install on your device needs to be signed. keystore are default signing keys. Those can be found at "<Drive>:\Users\<User>\.android" location with name "debug.keystore"

Build the new apk on the same machine where first version build was generated or use same keystore as previous machine. Copy "debug.keystore" from the old machine to new machine at the same location and build the app.

References :

https://stackoverflow.com/questions/2582588/can-i-copy-debug-keystore-from-one-pc-to-another

https://stackoverflow.com/questions/18266947/update-the-app-in-another-machine-with-same-debug-keystore-in-android/18267313#18267313

Thank you,