java.lang.runtimeException :java.net.UnkownHostException services.gradle.org
来源:互联网 发布:淘宝抢拍器app苹果 编辑:程序博客网 时间:2024/06/02 13:43
报这种错误,多数情况是因为没有配置代理导致的。解决的方法:
首先,在目录C:\Users\Administrator\.gradle下,查找gradle.properties(一般是不存在的)。如果不存在,则新建该文件,再在其中添加如下内容:
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=8080systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=8080
注意:这里将IP127.0.0.1和端口8080改成自己代理服务器的IP和端口。
这样,当你再次运行ionic build android时,就不会报上面的错误了。
阅读全文
0 0
- java.lang.runtimeException :java.net.UnkownHostException services.gradle.org
- java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.ConnectExcept
- java.lang.RuntimeException翻译
- java.lang.RuntimeException: NYI
- java.lang.RuntimeException: Stub!
- java.lang.runtimeexception
- java.lang.RuntimeException nativeLibraryDirectories
- java.lang.RuntimeException
- java.lang.RuntimeException
- Error: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hado
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.RuntimeException: java.lang.ClassNotFoundException: xxxxMapper
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
- Linux 下的两个特殊的文件 -- /dev/null 和 /dev/zero 简介及对比
- 可变参数
- kernel中的tee driver
- PHP 面试知识梳理
- 如何在高并发分布式系统中生成全局唯一Id
- java.lang.runtimeException :java.net.UnkownHostException services.gradle.org
- import tensorflow 出错
- 知识点
- 最小生成树之prim算法(优先队列优化)
- 【代码笔记】iOS-产生随机数
- ubuntu 时间操作
- mysql-proxy数据库中间件架构
- C
- Android