无法为文件内容创建 MD5 哈希

Failed to create MD5 hash for file content

提问人:Notron 提问时间:2/2/2023 最后编辑:Notron 更新时间:2/2/2023 访问量:215

问:

对于我的一个特定项目,gradle 突然开始失败,当前出现错误:

\`\* What went wrong:
There was a failure while populating the build operation queue: Failed to create MD5 hash for file content.
Failed to create MD5 hash for file content.
Input/output error

* Try:
  Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
  com.intellij.openapi.externalSystem.model.ExternalSystemException: There was a failure while populating the build operation queue: Failed to create MD5 hash for file content.
  Failed to create MD5 hash for file content.
  Input/output error\`

我正在使用 Android Studio 运行一个 android 项目

我搜索了但没有找到任何有用的东西,我已经尝试过:

  1. 尝试使缓存失效并在 Android Studio 上重新启动
  2. 我试图清理gradle,./gradlew清理并重建项目
  3. 重新启动我的笔记本电脑
  4. 删除了存储库并再次克隆(重新启动设备后)
  5. 更改了 gradle 版本
  6. 删除了 .gradle/ 和 .idea/ 文件并重新构建
  7. 将 Android Studio 更新为 Android Studio Electric Eel |2022.1.1
  8. 对于其他项目,它可以工作,但是当我尝试使用这个特定项目时,它失败了,我尝试使用命令授予此文件夹的所有权限:sudo chmod -R 777 /Projects/MyProject
android-studio android-gradle-plugin build.gradle gradlew

评论


答: 暂无答案