Reputation: 171
I'm getting this error in Android Studio after i've imported a project from eclipse
Error:Could not read cache value from'C:\Users\Username\.gradle\daemon\1.12\registry.bin'.
Does anyone know how to fix it?
Upvotes: 1
Views: 3855
Reputation: 715
just go C:\Users\Username.gradle\daemon\1.12 directory and delete all files on that directory. then restart Android Studio. that should work
Upvotes: 0
Reputation: 235
I know this is a old post. But instead of deleting .gradle directory, you just need to delete registry.bin.lock. You will find this in the same directory where registry.bin is. This will save a lot of your time.
Thanks
Upvotes: 2
Reputation: 80020
Exit Android Studio, delete the .gradle
directory at the path listed in the error message, and restart.
Upvotes: 7