Conflicting Signature Error

Asked

Viewed 1,048 times

0

Hello, I’m in big trouble

I have an APK for android that ran everything right, but I had a problem with the machine in which the project was and I had to change the machine, I installed everything right in the new machine, this running all beauty.

But when I Gero an APK and try to install it on a cell phone that already ran the same APK it gives this error

"Conflicting Signature Error"

But before I could update normal dps I changed machine I can no longer update the APK.

How do I get this previous signature ? what to do to resolve this ?

2 answers

2

By your mistake this can happen for basically three reasons:

  1. If it is the APK release you used a different Keystore than the one previously used to sign the APK, and the APK should always be signed with the same Keystore.

  2. You have the release version installed on the device and are trying to install the debug version on top, or vice versa.

  3. You are trying to install a new debug version that was created on a different machine, and the android SDK generates a different Keystore on each machine that it is installed

In your case the most likely is the third case since you switched machines. This could be solved with the backup of the $HOME/. android/debug.Keystore (in windows $HOME equals user folder c: users usersdataname)

But in all cases, uninstalling the application manually from the device also solves the problem.

0

The signature usually stays in the project folder, but just uninstall the mobile app that will work.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.