INSTALL_FAILED_UPDATE_INCOMPATIBLE when trying to install apk

Asked

Viewed 1,418 times

0

I am having this problem when installing on my mobile a new version of an Android application that I am building and, from what I already researched, can be easily solved by uninstalling the old application and installing the new one. However, if I do this I will lose the data from the old app, which I did not want. Would have some way to solve this problem without losing existing data?

  • There may be more than one reason for this to happen. Please specify what relevant you changed between the two versions.

  • Nothing structural changed (name of Packages, addition of new libraries, absolutely nothing like that), just some basic features.

  • Is this data from your old app in a database(sqlite type))? You can export this data?

  • Data in text files and in the database. There would be no way to export because there are several people using the application, and each of them has their own data on their phones

  • Can’t that be different signatures? Like two different keys.

1 answer

2

According to the series of responses in INSTALL_FAILED_UPDATE_INCOMPATIBLE when I Try to install Compiled . apk on device

This message means that the application is already installed:

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

This may occur because you may have installed the application otherwise, or installed via root or via playstore, you may try to uninstall via adb:

adb uninstall <nome do pacote>

Or you can uninstall on your own phone, go to Settings > Apps and select your App and click Uninstall

celular

Latest versions of Android just drag the App and at the top of the screen appears the Uninstall (or Uninstall):

drag uninstall

Note: If only Remove appears it means that it is not possible to uninstall


Would have some way to solve this problem without losing existing data?

There are some, still if the problem occurs at all times you should check what is happening, probably was trying to install the app by different means, or your ADT is outdated.

Note: If only Remove appears it means that it is not possible to uninstall

  • Click on Setting

  • Go to Back up & Sync:

    back up & sync

  • Turn on the backup by clicking ON (if off):

    ligando backup

  • Click on Backup All

Or you can use an app like:

  • Unfortunately you didn’t answer my question, but thank you anyway

  • 1

    @flpn can install an APP to back up, or one to browse folders and copy data, or simply sync data with your Playstore account.

Browser other questions tagged

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