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
How to Switch Automatically Between Viewpager Pages
Set Language to French in Android Datepickerdialog
How to Stop/Cancel Android Countdowntimer
Android Change Text Color of Items in Spinner
Writing Text File to Sd Card Fails
Firebase Sort by Points Depending on Date
How to Use Broadcast Receiver in Different Applications in Android
Is Deprecated Word the Only Difference Between Fill_Parent and Match_Parent
Room - Livedata Observer Does Not Trigger When Database Is Updated
Java.Lang.Stackoverflow Error. Suspected Too Many Views
Firebase Token Authentication Error