title: Application will not run on device: DELETE_FAILED_INTERNAL_ERROR?
body: <p><strong><em>Problem</em></strong>:</p>
  
  <p>I made some changes to my gradle file and whenever I try to run my application I keep getting the error <code>DELETE_FAILED_INTERNAL_ERROR</code> after being told that the application path must be uninstalled then re-installed to run the app. I approve the uninstall and then the <code>DELETE_FAILED_INTERNAL_ERROR</code> is thrown and execution just outright stops.</p>
  
  <p>Here is my gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
  
      defaultConfig {
          applicationId "benyamephrem.tilt"
          minSdkVersion 14
          targetSdkVersion 21
          versionCode 19
          versionName "3"
      }
      buildTypes {
          release {
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:21.0.3'
      compile 'com.google.android.gms:play-services:7.0.0'
      compile 'com.nineoldandroids:library:2.4.0'
      compile 'com.daimajia.easing:library:1.0.0@aar'
      compile 'com.daimajia.androidanimations:library:1.0.8@aar'
  }
  </code></pre>
  
  <p>Here is the ADB Logcat:</p>
  
  <pre><code>Installing benyamephrem.tilt
  DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/benyamephrem.tilt"
  pkg: /data/local/tmp/benyamephrem.tilt
  Failure [INSTALL_FAILED_DEXOPT]
  
  
  DEVICE SHELL COMMAND: pm uninstall benyamephrem.tilt
  DELETE_FAILED_INTERNAL_ERROR
  </code></pre>
  
  <p>I have installed all the sdk and build components needed as required by gradle. I also have uninstalled all apps with my package name from the device and the app still will not run.</p>
  
  <p><strong><em>Question</em></strong>:</p>
  
  <p>What is <code>DELETE_FAILED_INTERNAL_ERROR</code> and why will the app not run?</p>