/home/{user}/.gradle/gradle.properties
org.gradle.jvmargs=-Xmx1536m -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080

android-studio setting>http Proxy> Manual proxy configuration
socks
hostname 127.0.0.1
port number 1080

android-project root 下的gradle.properties

systemProp.socks.proxyHost=127.0.0.1
org.gradle.jvmargs=-Xmx1536m -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080
systemProp.socks.proxyPort=1080

相关文章:

  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-06-28
  • 2021-05-28
  • 2021-08-28
猜你喜欢
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-08-21
  • 2022-12-23
相关资源
相似解决方案