ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not download gson*

 我们也真牛,把gradle逼的都会使用代理了

.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
#Sat Dec 07 20:06:29 CST 2019
systemProp.https.proxyPort=80
systemProp.http.proxyHost=mirrors.neusoft.edu.cn
org.gradle.daemon=true

新版的android-studio 需要把其去掉,不然把错

 

没想到红杏出墙竟然是句好话

 

你可能感兴趣的:(android基础架构)