I tried everything and nothing helps me :( At first I got:
INSTALL_FAILED_DEXOPT error when trying to install application
Please check logcat output for more details.
Launch canceled!
And then the first error changed to
Installation error: INSTALL_FAILED_UID_CHANGED
I am running the app on Genymotion, so I don't have root and can't delete /data. I restarted eclipse and Genymotion (and tried different emulators in vein). I cleaned my project many times. I uninstalled every app from Settings/Apps, and cleared the app from Storage/misc. I can't factory reset Genemotion. The installation fails on my device (Galaxy 4). I also changed my package name, with no help.
My logcat shows:
cutils-trace(1311): Error opening trace file: No such file or directory (2)
memtrack(1311): Couldn't load memtrack module (No such file or directory)
android.os.Debug(1311): failed to load memtrack module: -2
I tried to revert the code to a known working GIT version, with no help - still installation error: INSTALL_FAILED_DEXOPT. Also - I can't open ab eclipse emulator.
What can I do?