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
Andrea's answer worked for me, too (i.e. upgrading gradle from 3.3 to 3.5). For the shake of completeness, I'd just like to add that you can update gradle in your Android Studio by going to:
File > Project Structure > Project
You might have to update your Android Plugin Version, too. Check the version compatibility table for more information.