Android 或者 flutter 运行时报错提示:

Caused by: org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted DataBlock 58190 found in cache ‘/Users/***/.gradle/caches/journal-1/file-access.bin’.

解决方法

  • 删除 /Users/***/.gradle/caches/目录
  • 删除 /Users/***/.gradle/android.lock
    然后重新 sync gradle 下载
Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐