Problem
我对gradle文件做了一些修改,每当我尝试运行我的应用程序时,在被告知必须卸载应用程序路径,然后重新安装才能运行应用程序后,我总是收到错误DELETE_FAILED_INTERNAL_ERROR
。我批准了卸载,然后抛出DELETE_FAILED_INTERNAL_ERROR
,执行完全停止。
这是我的gradle文件:
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'
}
以下是ADB的Logcat:
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
我已经安装了gradle所需的所有sdk和构建组件。我也已经从设备上卸载了所有带有我的包名的应用程序,但应用程序仍然无法运行。
问题
什么是DELETE_FAILED_INTERNAL_ERROR
,为什么这个应用程序不能运行?
https://stackoverflow.com/questions/30010388
复制相似问题