Error:Cause: invalid stream header: 000900D9 in android studio 2.3.1 : <p>I am using android studio 2.3.1 and it was working fine yesterday But now it throw me an error <strong>Error:Cause: invalid stream header: 000900D9</strong>
 this message throw from <strong>Messages Gradle Sync dialog</strong>. </p>

<p><strong><em>Below are the steps which i did to fixed this problem but nothing works for me</em></strong></p>

<p>1.invalidate cache and restart</p>

<ol start="2">
<li>Delete <strong>scripts and scripts-remapped</strong> files from <strong>C:\Users\suraj.gradle\caches\3.3</strong></li>
</ol>

<p>and also checked many post in <strong>stackoverflow</strong> but nothing work for me and most of the questions put here are not answered by anyone yet .</p>

<p>Under my <strong>project structure</strong></p>

<p><strong>Compile Sdk version</strong> :Api 25</p>

<p><strong>Build tool version</strong> :25.0.2 </p>
