首页 > 解决方案 > 调试构建在构建期间无法访问 out.jar,因为它正在被另一个进程使用

问题描述

现在我在家工作,当我尝试运行调试版本时,我正在尝试为我的家庭桌面(Windows)工作。我得到了错误。

Execution failed for task ':app:packageDebug'.
> Exception modifying resource jar file: : D:\Dev\APPFOLDER\app\build\intermediates\merged_java_res\debug\out.jar: The process cannot access the file because it is being used by another process.

我不明白发生了什么我可以在我的笔记本电脑(Mac)上很好地运行构建。我什至已经完全恢复了我的电脑的出厂设置。

标签: androidandroid-studiodebug-build

解决方案


我还没有想出如何解决这个问题,但问题是com.heapanalytics.android我现在已经禁用了堆。


推荐阅读