CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock 298298 [英] CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'

查看:404
本文介绍了CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock 298298的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的android项目正在运行,我的应用程序可以运行,但是我一直收到这些错误. 谁能解释正在发生的事情以及我该如何解决?

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.cache.internal.btree.CorruptedCacheException:在高速缓存"/Users/macuser/.gradle/caches/journal-1/file-access.bin"中找到损坏的IndexBlock 298298. org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock272355.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock256346.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现的损坏的IndexBlock285739.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock272355.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock298298.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock272355.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock256346.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock272355.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock256346.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock298298.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock256346.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock298298.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现的损坏的IndexBlock238437.
org.gradle.cache.internal.btree.CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现的损坏的IndexBlock 298298.

org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'. org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 272355 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 256346 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 285739 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 272355 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 272355 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 256346 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 272355 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 256346 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 256346 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 238437 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.
org.gradle.cache.internal.btree.CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'.

推荐答案

我在Mac上也遇到了同样的问题.

I had the same issue on a mac as well.

  1. 打开您的/Users/macuser/文件夹
  2. 按CMD + SHIFT +. (点/句号)以查看隐藏的文件夹
  3. 删除.gradle文件夹
  4. 重新启动Android Studio

这将导致Android Studio重建并重新下载您的.gradle文件夹,从而在此过程中修复了损坏的文件.

This will cause Android Studio to rebuild and re-download your .gradle folder fixing your corrupt files in the process.

注意*我正在寻找经验丰富的程序员,让我们知道这样做是否安全/正确!它对我没有任何错误,但我是新手,所以第二意见将不胜感激.

NOTE* I'm looking for experienced programmers to let us know if this is safe / correct to do so! It worked for me with no errors but i'm new to this so a second opinion would be appreciated.

这篇关于CorruptedCacheException:在缓存'/Users/macuser/.gradle/caches/journal-1/file-access.bin'中发现损坏的IndexBlock 298298的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆