Gradle同步失败:读取超时 [英] Gradle Sync Failed: Read Timed Out

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

问题描述

# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

Android Studio给了我这个错误,尽管gradle.properties里面没有代理:

Android Studio gives me this error, although the gradle.properties does not have a proxy inside it:

推荐答案

问题已解决:删除了home中的gradle.properties文件.然后,Android Studio开始下载丢失的文件.

The problem has been solved: deleted the gradle.properties file in home. Then, the android studio started downloading missing files..

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

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