我将android studio更新到3.2,然后创建了新项目,但有错误: 我的计算机没有代理,但我可以尝试添加
# 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.
# Default value: -Xmx10248m -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
org.gradle.jvmargs=-Xmx1536m
systemProp.https.proxyHost=192.168.100.11
systemProp.https.proxyPort=8080
systemProp.http.proxyHost=192.168.100.11
systemProp.http.proxyPort=8080
baseApiUrl="http\://"
gradle.properties
,它不起作用。因此我将其还原为默认设置(仅org.gradle.jvmargs=-Xmx1536m
)
我该如何解决?