user36606
user36606

Reputation: 171

Gradle error after importing projects from eclipse

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

Answers (3)

Uditha Prasad
Uditha Prasad

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

Ashish Prakash
Ashish Prakash

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

Scott Barta
Scott Barta

Reputation: 80020

Exit Android Studio, delete the .gradle directory at the path listed in the error message, and restart.

Upvotes: 7

Related Questions