android - 调试构建在构建期间无法访问 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)上很好地运行构建。我什至已经完全恢复了我的电脑的出厂设置。
解决方案
我还没有想出如何解决这个问题,但问题是com.heapanalytics.android
我现在已经禁用了堆。
推荐阅读
- python - 在 Python 3 中更新特定的网格单元
- java - 如何检查“JFrame”中的标题可以容纳多少个字符?
- vue.js - VueRouter:路由器推送不发出 API 请求
- jsoup - jsoup HTML 片段检测
- android - 你可以在 xml 中使用 ellipsize 和 maxLength 吗?
- discord.py - 如何为多个 discord.py 命令添加共享冷却时间
- c++ - 使用将接受任何类型的向量和 std::less/std::greater 作为比较器的自定义函数对向量进行排序
- firebase - Firestore 随机 ID
- python - 如何删除 TreeView 表的某一行 - Tkinter
- numpy - 使用 numpy 将值插入特定的特定索引