Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried adb install

16,404

Solution 1

try :

adb install -r <your_apk>

Solution 2

Just to be sure, try uninstalling the app with this command:

adb uninstall <package_name>
Share:
16,404
fulgen
Author by

fulgen

Updated on June 26, 2022

Comments

  • fulgen
    fulgen 11 months

    The apk does not appear under menu or settings->apps->manage apps, but when I tried to install it using adb install I got this error [INSTALL_FAILED_ALREADY_EXISTS]. By the way I have already installed same apk on my other emulator which I already deleted. How could I fix this?

  • fulgen
    fulgen over 9 years
    I tried it, it returns 'FAILURE'
  • brwngrldev
    brwngrldev over 9 years
    have you tried to install it with the -r option: adb install -r <your_apk>
  • fulgen
    fulgen over 9 years
    It returns Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
  • brwngrldev
    brwngrldev over 9 years
    the certificates don't match. You can read more here: stackoverflow.com/questions/9786341/…
  • fulgen
    fulgen over 9 years
    It returns Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
  • fulgen
    fulgen over 9 years
    I have already deleted my other device without uninstalling the package there I think that causes my problem in installing that I could not install in my new device.
  • fulgen
    fulgen over 9 years
    I have already deleted my other device without uninstalling the package there I think that causes my problem in installing that I could not install in my new device.
  • Nick Cardoso
    Nick Cardoso over 9 years
    have you made sure to untick 'snapshot' on your device config?
  • fulgen
    fulgen over 9 years
    did you mean to uncheck the snapshot when creating new device in avd manager..?
  • Brian
    Brian over 7 years
    @fulgen If it is reporting that error, it sounds like the app is already installed. If you have more than one device connected, you may have already installed a different version of the app on the other device.