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

前端 未结 6 1425
有刺的猬
有刺的猬 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:24

    I'm on Linux (Ubuntu 18.04) and I got this error also. I had to:

    1. go to ~/.gradle/caches/journal-1
    2. delete all the files
    3. close Android Studio

    Open Android Studio and everything is fixed again. You have to restart Android Studio for the fix. it must store those files in memory or something.

提交回复
热议问题