Android Studio Gradle 构建错误:读取超时 [英] Android Studio Gradle Build Error: Read Time Out

查看:53
本文介绍了Android Studio Gradle 构建错误:读取超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 Windows 10 笔记本电脑上安装了最新的 Android Studio IDE,它运行良好,直到我的 Windows 操作系统进行了巨大的自动更新.

I have the latest Android Studio IDE installed on my Windows 10 laptop, and it was working fine until my windows operating system made a huge automatic update.

现在,当启动我的 Android Studio IDE 时,我收到以下错误并且它没有构建.

Now, when start my Android Studio IDE, I get the following error and it doesn't build.

Gradle 同步失败:读取超时请查阅 IDE 日志以获取更多详细信息(帮助 | 显示日志) (3m 34s 195ms)

Gradle sync failed: Read timed out Consult IDE log for more details (Help | Show Log) (3m 34s 195ms)

我需要这方面的帮助.

推荐答案

我遇到这个错误Read Time Out",我只需选择菜单项:File -> Invalidate Caches/重新启动...修复它.

I encounter this error "Read Time Out", and I simply choose menu item: File -> Invalidate Caches / Restart... to fixed it.

[更新]

我刚刚第二次遇到这个错误,这次使缓存无效/重新启动...无法修复它,但后来我尝试关闭android Studio,killall -9 java 确保所有java进程都已终止,然后重新启动Android Studio,不再出现错误.

I just encounter this error for second time, this time Invalidate Caches / Restart... not able to fix it, but then I try close the android Studio, killall -9 java to ensure all java process has been terminated, then relaunch Android Studio, no more error.

[更新 2]我刚遇到这个错误,我通过重新插入电话线并重新运行来修复它.

[UPDATE 2] I just encounter this error and I fixed it by replug the phone cable and rerun.

这篇关于Android Studio Gradle 构建错误:读取超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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