首页 > 其他分享> > Could not GET ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle,亲测有效
Could not GET ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle,亲测有效
作者:互联网
解决方案:
- 修改 C:\Users\用户名.gradle\gradle.properties
## 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.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# 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
#Fri Mar 12 07:16:29 CST 2021
#systemProp.https.proxyPort=80
#systemProp.http.proxyHost=mirrors.neusoft.edu.cn
#systemProp.https.proxyHost=mirrors.neusoft.edu.cn
#systemProp.http.proxyPort=80
把代理注释掉
标签:dl,http,gradle,XX,https,org,android,com,systemProp 来源: https://blog.csdn.net/dpjcn1990/article/details/115803935