I am using android studio 2.3.1 and it was working fine yesterday But now it throw me an error Error:Cause: invalid stream header: 000900D9 this message th
Go to your console, run
./gradlew --stacktrace
If it says
GradleException: Could not read cache value from '[...]/.gradle/daemon/3.3/registry.bin'
go to this folder and delete the file registry.bin.lock. No need to delete the whole .gradle directory and download everything again.
registry.bin.lock
.gradle