在Android Studio中启动任何应用和APK的问题

时间:2019-04-06 19:35:31

标签: android gradle apk

如果我想启动任何应用程序,那么自失败之日起我就会得到:

安装失败并显示错误消息:无法访问程序包管理器。系统正在运行吗? 可以通过卸载apk的现有版本(如果存在)然后重新安装来解决此问题。

警告:卸载将删除应用程序数据!

您要卸载现有应用程序吗?

单击“确定”后,发生这种情况:

04/06 21:29:14:启动应用 $ adb install-multiple -r -t C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ resources \ instant-run \ debug \ resources-debug.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ dep \ dependencies.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_1.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_0.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_2。 apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_3.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_5.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_4.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \中间体\ split-apk \ debug \ slices \ slice_6.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slice s \ slice_8.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_7.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_9.apk C:\ Users \ thoma \ Desktop \ MyApplication6 \ app \ build \ intermediates \ instant-run-apk \ debug \ app-debug.apk $ adb shell pm卸载com.example.myapplication 未知失败:错误:无法访问包管理器。系统正在运行吗? 安装APK时出错

我在youtube上找到了一个视频,该视频显示其删除了seetings-> Builud,Execution,Eployment-> Instant Run中的“启用即时运行至热门...”。但这无济于事。

知道我能做什么吗?

0 个答案:

没有答案