title: INSTALL_FAILED_DEXOPT error when trying to install application
body: <p>I have a similar problem to the ones listed <a href="https://stackoverflow.com/questions/5153515/how-to-solve-install-failed-dexopt-this-error">here</a> and <a href="https://stackoverflow.com/questions/3776152/android-install-failed-dexopt-while-install-app-on-android-1-5">here</a>.</p>
  
  <p>I am getting an INSTALL_FAILED_DEXOPT error every time I try to install my app on my Motorola Xoom.</p>
  
  <p>Here is the error message from the console:</p>
  
  <pre><code>[2011-08-02 09:34:43 - Blade] Installation error: INSTALL_FAILED_DEXOPT
  [2011-08-02 09:34:43 - Blade] Please check logcat output for more details.
  [2011-08-02 09:34:43 - Blade] Launch canceled!
  </code></pre>
  
  <p>And here is the corresponding logcat:</p>
  
  <pre><code>08-02 09:47:48.910: ERROR/PackageManager(142): Package com.theisenp.blade has mismatched uid: 10023 on disk, 10073 in settings
  08-02 09:47:48.910: INFO/PackageManager(142): Linking native library dir for /data/app/com.theisenp.blade-1.apk
  08-02 09:47:49.110: ERROR/dalvikvm(2094): Duplicate interface: 'Lgnu/trove/TIntIntProcedure;'
  08-02 09:47:49.110: ERROR/dalvikvm(2094): Trouble with item 1108 @ offset 0x5d49c
  08-02 09:47:49.110: ERROR/dalvikvm(2094): Cross-item verify of section type 0006 failed
  08-02 09:47:49.110: ERROR/dalvikvm(2094): ERROR: Byte swap + verify failed
  08-02 09:47:50.140: ERROR/dalvikvm(2094): Optimization failed
  08-02 09:47:50.150: WARN/installd(91): DexInv: --- END '/data/app/com.theisenp.blade-1.apk' --- status=0xff00, process failed
  08-02 09:47:50.150: ERROR/installd(91): dexopt failed on '/data/dalvik-cache/data@app@com.theisenp.blade-1.apk@classes.dex' res = 65280
  08-02 09:47:50.160: WARN/PackageManager(142): Package couldn't be installed in /data/app/com.theisenp.blade-1.apk
  </code></pre>
  
  <p>Here's what I've tried so far:</p>
  
  <ul>
  <li>Selecting the "Wipe User Data" option in the Run Configurations -> Target menu.  (Though I can only see emulators and not my physical device in this tab.  Perhaps I'm not actually wiping user data from the Xoom?)</li>
  <li>Uninstalling the app from my device before trying to reinstall</li>
  <li>Restarting the device multiple times</li>
  </ul>
  
  <p>Any suggestions you can offer are very much appreciated!</p>