Solving install error dexopt
Asked Answered
S

2

0

Even though there are several posts about dexopt errors none of them helped. I suddenly started to receive dexopt errors : Failure [INSTALL_FAILED_DEXOPT]. Ive tried uninstalling the app from my phone but it didnt help. Ive tried to wipe app data from /data/data/ and it didnt help either. However, if i run for second time after install failed dexopt error, i receive an Failure [INSTALL_FAILED_UID_CHANGED] error. After wiping /data/data again comes the same error sequence explained above.

Ive also tried to wipe temp folder as well with no difference in results. Ive also tried to wipe all other apps that ive installed through android studio and it still gives me same error. Any ideas? I am installing in on rooted LG G2 if it makes any difference at all.

Sirmons answered 1/7, 2014 at 8:55 Comment(0)
S
0

Found solution to this problem. I installed Titanium Backup app, went to batch actions and removed the orphan data of the app. After this everything went on smoothly! It seems that deleting old data from /data/data was not enough.

Sirmons answered 2/7, 2014 at 7:12 Comment(0)
P
2

if you use android studio 2.0, DISABLE the instant run.

FYI, instant run is new feature from android studio 2.0 (i never used it >.<)

how to disable : preferences -> build, execution & deployment -> instant run -> disable, then works like magic

Enjoy!

Proof answered 21/1, 2016 at 8:18 Comment(0)
S
0

Found solution to this problem. I installed Titanium Backup app, went to batch actions and removed the orphan data of the app. After this everything went on smoothly! It seems that deleting old data from /data/data was not enough.

Sirmons answered 2/7, 2014 at 7:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.