Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3646] Android - install fails when installing an app a second time [INSTALL_FAILED_DEXT_OPT]

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2011-05-14T12:06:24.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 1.7.0, Sprint 2011-17
ComponentsAndroid
Labelsandroid, errors, install, kitchensink, regression
ReporterThomas Huelbert
AssigneeMarshall Culpepper
Created2011-04-21T11:50:09.000+0000
Updated2011-05-14T12:07:20.000+0000

Description

1.seems to affect any project 2.build and install onto supported android device 3.after successful install, try to reinstall results:[DEBUG] /Users/thomashuelbert/Documents/android-sdk-mac_86/platform-tools/adb -d install -r /Users/thomashuelbert/Documents/content/160/uatest2/build/android/bin/app.apk [ERROR] Failed installing com.appcelerator.android.uatest2: pkg: /data/local/tmp/app.apk Failure [INSTALL_FAILED_DEXOPT] Note: if you uninstall the app and then reinstall you will still see the error. you need to manually delete the app data cache to resolve at this point.

Comments

  1. Thomas Huelbert 2011-04-21

    I wan to add that when we ran this pass on monday, we did not see the behavior, it is todays pull that shows it. We used the same SDK for both tests, fwiw
  2. Thomas Huelbert 2011-04-21

    no longer repro in this afternoons pull
  3. Thomas Huelbert 2011-04-21

    also seen on droid1 now.
  4. Thomas Huelbert 2011-04-21

    also seen on droid1 now. Did a pull this afternoon and bad behavior is back. weird.
  5. Thomas Huelbert 2011-04-22

    updated steps. Should the uninstall not uninstall the app data cache?
  6. Don Thorp 2011-05-14

    Installed KS. Reinstalled KS. Installed successfully both times.

JSON Source