将以下配置写入gradle.properties文件中

# http代理systemProp.http.proxyHost=www.somehost.orgsystemProp.http.proxyPort=8080systemProp.http.proxyUser=useridsystemProp.http.proxyPassword=password systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost#https代理systemProp.https.proxyHost=www.somehost.orgsystemProp.https.proxyPort=8080systemProp.https.proxyUser=useridsystemProp.https.proxyPassword=passwordsystemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost

更多相关文章

  1. 移植dlib到android
  2. Android(安卓)Http 异步请求
  3. Android日志服务 记录日志
  4. AndroidManifest.xml文件详解(uses-configuration)
  5. android studio Error:Unable to start the daemon process
  6. android studio Error:Unable to start the daemon process
  7. [置顶] android调用系统相机拍照并保存在本地
  8. Android(安卓)AES 文件加密解密
  9. NPM 和webpack 的基础使用

随机推荐

  1. Android spannableStringBuilder用法整理
  2. Android Menu功能菜单
  3. android 侧滑菜单DrawerLayout
  4. android command
  5. 在android中使用HttpURLConnection进行文
  6. 如何隐藏Android4.0及以上版本的ActionBa
  7. android获取设备存储信息
  8. To use MuPDF source code in Android
  9. 基于Retrofit+RxJava的Android分层网络请
  10. android开发――获取手机联系人