Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not read entry ... from cache taskArtifacts.bin

After my mac crashed I got the error message on every sync:

Error:Could not read entry ':randomModuleName:compileReleaseShaders' from cache taskArtifacts.bin (/Users/me/development/projectname/.gradle/2.10/taskArtifacts/taskArtifacts.bin).
> [Ljava.lanava.lang.; serializable and externalizable flags conflict

I already cleaned the caches of Android Studio and cleared the project, without success.

What should I try to make my project working again?

like image 227
rekire Avatar asked Sep 05 '25 03:09

rekire


1 Answers

After playing around I just deleted my .gradle directory in the project root and Android Studio started working again.

like image 142
rekire Avatar answered Sep 09 '25 16:09

rekire