Eclipse Installation error: INSTALL_FAILED_UID_CHANGED

后端 未结 11 1650
粉色の甜心
粉色の甜心 2020-11-28 12:45

I have problem with running an android application from eclipse on real android device

when I click on Run it just show me this error: Installation error: INST

相关标签:
11条回答
  • 2020-11-28 13:19

    It may be possible that the application did not get uninstalled properly. There may be data folder left out. So try to remove data folder of the application manually and try installing the application again.

    0 讨论(0)
  • 2020-11-28 13:20

    I tried all this answers but no effect

    uproperly uninstall.

    solution: just reboot pad

    0 讨论(0)
  • 2020-11-28 13:26

    There is a work around for it. If you do not have rooted device and you cannot access /data/data/ folder also, then simply reset your device. It will delete everything from data folder and you can install clean app again. Only drawback is everything will get erased from your phone.

    0 讨论(0)
  • 2020-11-28 13:29

    This solution finally worked for me with no root:

    $ platform-tools/adb -d install /path/to/proj/bin/foo.apk
    797 KB/s (4872885 bytes in 5.963s)
    pkg: /data/local/tmp/foo.apk
    Success
    $ platform-tools/adb -d uninstall com.example.foo.bar
    Success
    

    I don't completely understand why this worked when installing from Eclipse did not work for the same APK, but I'm just happy to move on...

    0 讨论(0)
  • 2020-11-28 13:29

    May be anybody help...

    I have root device for debug. Sometimes I backup my application data from /data/data/my.package and later restore by adb shell. Before on restore I delete my.package folder, recreate and copy other subfolders and files. After this on next change and run project from eclipse, get INSTALL_FAILED_UID_CHANGED error.

    My mistake: I should not have been removed my.package folder. I must remove only all in this folder, because on recreate folder I get new owner folder my.package.

    0 讨论(0)
  • 2020-11-28 13:29

    I had this issue on the emulator. I removed the avd and created a new one. Problem went away.

    0 讨论(0)
提交回复
热议问题