Failure [Install_Failed_Already_Exists] When I Tried to Update My Application

Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application

If you install the application on your device via adb install you should look for the reinstall option which should be -r. So if you do adb install -r you should be able to install without uninstalling before.

Failure [INSTALL_FAILED_ALREADY_EXISTS]

adb can't install an apk if the device already have an apk installed where the package name is the same. So, you need to remove it by using:

adb uninstall com.your.package.name

where com.your.package.name is your apk package name. Or you can use the following if you want to keep all the apk data (in case you want to update the apk):

adb uninstall -k com.your.package.name

Then you can install the apk with:

adb install yourpackage.apk

In case you don't know the package name, please read more about it at Read the package name of an Android APK

INSTALL_FAILED_ALREADY_EXISTS when trying to install APK-package

You should change the package in order to let android to differ your versions as package name is a unique identifier of an application.

INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to install compiled .apk on device

I just renamed the package and it worked for me.

Or if you are using Ionic, you could delete the application and try again, this happens when ionic detects that the app you are deploying is not coming from the same build. It often happen when you change from pc.



Related Topics



Leave a reply



Submit