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

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

问题描述

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

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.

以下是我为解决此问题而执行的步骤,但对我没有任何帮助

Below are the steps which i did to fixed this problem but nothing works for me

1.使缓存无效并重新启动

1.invalidate cache and restart

  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天全站免登陆