C:\Users\ACER\.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
#Thu Jun 20 21:45:30 CST 2019
#systemProp.http.proxyHost=www.somehost.org
#systemProp.https.proxyPort=1080
#systemProp.https.proxyHost=127.0.0.1
#systemProp.http.proxyPort=8080
android.useDeprecatedNdk=true
博客介绍了Gradle.properties文件的位置为C:\\Users\\ACER\\.gradle\\gradle.properties ,并说明了可在此文件中清空、去掉代理或增加配置。还给出了JVM参数、并行模式等配置示例,以及代理配置示例,最后提到android.useDeprecatedNdk=true。
4694

被折叠的 条评论
为什么被折叠?



