android-CorruptedCacheException:在缓存’Usersmacuser.gradlecachesjournal-1file-access.bin’中发现损坏的In

android-CorruptedCacheException:在缓存’Usersmacuser.gradlecachesjournal-1file-access.bin’中发现损坏的In,第1张

概述我的android项目正在运行,我的应用程序可以运行,但是我一直收到这些错误.谁能解释正在发生的事情以及我该如何解决?nullorg.gradle.cache.internal.btree.CorruptedCacheException:CorruptedIndexBlock298298foundincache'/Users/macuser/.gradle/caches/journal-1/f

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

null    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上也遇到了同样的问题.

>打开/ Users / macuser /文件夹
>按CMD SHIFT键. (点/句点)以查看隐藏的文件夹
>删除.gradle文件夹
>重新启动AndroID Studio

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

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

总结

以上是内存溢出为你收集整理的android-CorruptedCacheException:在缓存’/Users/macuser/.gradle/caches/journal-1/file-access.bin’中发现损坏的In全部内容,希望文章能够帮你解决android-CorruptedCacheException:在缓存’/Users/macuser/.gradle/caches/journal-1/file-access.bin’中发现损坏的In所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1094943.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存