Android Studio 3.3
我创建了Android Emulator 5.0 此处设置:
但是当我尝试在模拟器上启动我的应用程序时,出现错误:
在logcat中按OK时,显示错误消息,并且我的应用未安装在模拟器上。
05/11 13:55:10: Launching app
$ adb install-multiple -r -t D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_0.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_1.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_4.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_7.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_5.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_6.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_3.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_8.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_2.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\slices\slice_9.apk D:\dev\myproject\app\build\intermediates\split-apk\debug\dep\dependencies.apk D:\dev\myproject\app\build\intermediates\instant-run-apk\debug\tm-debug_0.0.8.apk
$ adb shell pm uninstall com.myproject.android.debug
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APKs
P.S。在Android模拟器9.0中,我的应用程序成功安装
答案 0 :(得分:1)
我认为这是因为未正确安装,因此即使在卸载时也会显示错误。
我建议您备份项目和设置,然后从头开始重新安装Studio