Search code examples
buildandroid-studiobuild-processandroid-gradle-plugin

How to read Gradle's registry.bin?


I was working on Android studio (on the Mac) when I got the following message:

Error:Could not read cache value from '/Users/Friso/.gradle/daemon/2.2.1/registry.bin'.

I don't know what caused it, since I didn't do anything to the build files.

How can I fix this?


Solution

  • Try deleting the /Users/Friso/.gradle directory and rebuild.