我正在尝试从我的android studio运行我的自定义API apk到onePlus移动phone.Its API级别为23。此应用程序在22级运行良好,但在23级应用程序接口上总是收到错误失败INSTALL_FAILED_VERSION_DOWNGRADE,并显示卸载现有应用程序的弹出窗口。并感染此apk尚未安装。当我尝试按下OK按钮时,它显示DELETE FAILED INTERNAL ERROR。我没有得到任何解决方案。请帮帮我。我尝试更改versionCode、VersionName应用程序接口级别等,但没有解决方案。这是我的gradle文件
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.android.launcher3"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName '1.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':wallpaperpick')
compile 'com.github.yukuku:ambilwarna:2.0.1'
compile 'com.android.support:support-v4:24.0.0-alpha1'
}
发布于 2018-06-13 12:33:21
尝试使用adb install -r -d ${YOUR_APK_FILE_PATH}进行安装。
https://stackoverflow.com/questions/36451556
复制相似问题