Gradle sync failed: Could not read cache value from C:\Users\lenovo\.gradle\daemon\4.1\registry.bin

Gradle sync failed: Could not read cache value from 'C:\Users\lenovo\.gradle\daemon\4.1\registry.bin'.

找到错误中的路径 

Gradle sync failed: Could not read cache value from C:\Users\lenovo\.gradle\daemon\4.1\registry.bin

删掉红色横线标注的文件。重新编译就可以了。

 

欢迎各位小伙伴加入我的qq群:开发一群:454430053 开发二群:537532956   这里已经有很多小伙伴在等你了,快来加入我们吧