【问题标题】:Execution failed for task ':app:packageInstantRunResourcesDebug'. and My app can't run任务“:app:packageInstantRunResourcesDebug”执行失败。我的应用程序无法运行
【发布时间】:2018-01-29 10:24:38
【问题描述】:

我在 android studio 中编写了“Hello World”应用程序,所以我可以知道我的 ide 正在运行(我在 linux 上运行 ide,我是新手,所以我真的不知道会发生什么。)。然后,我运行它并发生此错误。

Execution failed for task ':app:packageInstantRunResourcesDebug'.
Internal error when trying to read zip file '/home/aukkawut/Downloads/hello/app/build/intermediates/res/debug/resource-debug.ap_'

那么我做错了什么?

【问题讨论】:

标签: android android-studio


【解决方案1】:

尝试使用干净的项目并重建项目。

转到 Ansroid Studio 顶部的导航

Build-> Clean Project 然后Rebuild Project

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-06-11
    • 1970-01-01
    • 1970-01-01
    • 2022-06-14
    • 1970-01-01
    • 2021-09-26
    • 2022-11-11
    • 2021-05-08
    相关资源
    最近更新 更多