Q:

INSTALL_FAILED_UID_CHANGED after creating apk and INSTALL_FAILED_DEXOPT

When I want to run an application via intellij IDE on my Samsung tablet I got this error:
pkg: /data/local/tmp/org......
Failure [INSTALL_FAILED_UID_CHANGED]

I spend lots of time for googling about the problem but most of answers says: restart your device, uninstall previous version, wipe and etc
but these solutions didn't solve my problem.
The other interesting thing is that when I want to run on Emulator I got this error:
pkg: /data/local/tmp/org......
Failure [INSTALL_FAILED_DEXOPT]

Can anybody help me?

A:

Just Factory reset helped me! :(

