错误:原因:无效的流标头:android studio 2.3.1 中的 000900D9 [英] Error:Cause: invalid stream header: 000900D9 in android studio 2.3.1

查看:26
本文介绍了错误:原因:无效的流标头:android studio 2.3.1 中的 000900D9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 android studio 2.3.1,它昨天运行良好但现在它给我一个错误错误:原因:无效的流标头:000900D9此消息从消息 Gradle 同步对话框抛出.

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 throw from Messages Gradle Sync dialog.

以下是我为解决此问题所做的步骤,但对我没有任何作用

1.使缓存失效并重启

  1. C:\Users\suraj.gradle\caches\3.3
  2. 中删除脚本和重新映射的脚本文件

并且还检查了 stackoverflow 中的许多帖子,但对我来说没有任何作用,而且这里的大多数问题都没有得到任何人的回答.

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

根据我的项目结构

编译SDK版本:Api 25

构建工具版本:25.0.2

推荐答案

我遇到了同样的问题,无法弄清楚究竟是什么导致了这个问题.

I was facing the same problem and was not able to figure out what exactly causes this problem.

但是删除整个 .gradle 文件夹(在我的例子中是/home/$USER/.gradle)并重建应用程序修复了它.

But removing the whole .gradle folder (/home/$USER/.gradle in my case) and rebuilding the app fixed it.

这篇关于错误:原因:无效的流标头:android studio 2.3.1 中的 000900D9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆