dl.google.com被国内qiang挡住

解决办法

1

解决AndroidStudio代理设置问题

 

2.

解决AndroidStudio代理设置问题

 

 3.

在gradle.properties文件修改

# 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 -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080

# 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

systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=1080

 

相关文章:

  • 2021-08-13
  • 2021-07-03
  • 2022-12-23
  • 2021-07-18
  • 2021-06-02
  • 2021-07-04
  • 2021-11-02
猜你喜欢
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-07-27
  • 2021-06-20
相关资源
相似解决方案