启动应用程序时出现错误
$ adb install-multiple -r -t E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ dep \ dependencies.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split -apk \ debug \ slices \ slice_0.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_2.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_3.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_4.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_1.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_5.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_6.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_slice_8.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_9 .apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \即时运行apk \ debug \ app-debug.apk E:\ workspace \ WorkManagementDemo \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_7.apk
$ adb shell pm卸载com.example.workmanagementdemo
Error while Installing APKs
答案 0 :(得分:0)
尝试为屏幕密度和CPU体系结构生成组合的APK
android {
.....
splits {
density {
enable true
reset()
include "mdpi", "xhdpi"
}
abi {
enable true
reset()
include "mips64", "mips"
}
}
}