CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'

前端 未结 6 1417
有刺的猬
有刺的猬 2020-12-18 22:47

My android projects runs and my app works but I keep getting these errors. Can anyone explain what is happening and how I can solve it?

org.gradle.ca

6条回答
  •  执笔经年
    2020-12-18 23:23

    try this: Start with your original error message "'/Users/macuser/.gradle/caches/journal-1/file-access.bin" Shut down Android and restart your computer . Navigate to the location of the problem file.... relabel your "file-access.bin" to "file-accessOLD.bin" restart Android and run your app. Android will recreate the file and the corruption should disappear. this is what the file folder looks like after the process completes

提交回复
热议问题