title: Can't upload Android app to device (stale dexed jars)
body: <p>I am using Android Studio to develop this app, and today when I tried to upload it to my device to test I got a popup window saying:</p>
  
  <blockquote>
    <p>Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error).
    In order to proceed, you have to uninstall the existing application.</p>
    
    <p>WARNING: Uninstalling will remove the application data!</p>
    
    <p>Do you want to uninstall the existing application?</p>
  </blockquote>
  
  <p>It gave two options, OK or Cancel. Upon hitting OK, the following message showed up in the Run tab:</p>
  
  <blockquote>
    <p><code>DEVICE SHELL COMMAND: pm uninstall my.bundle.id</code><br>
    <code>Unknown failure</code></p>
  </blockquote>
  
  <p>The app seems to be uninstalled, the is no trace of it under Manage Applications.<br>
  I am unable to upload the app. I tried cleaning the project and rebuilding, but it didn't work.</p>
  
  <p>What can I do?</p>