在编译android apk的时候出现以下报错,已经翻墙过了
IOException: https://dl.google.com/android/repository/addons_list-3.xml
java.net.ConnectException: Connection refused: connect
IOException: https://dl.google.com/android/repository/addons_list-2.xml
java.net.ConnectException: Connection refused: connect
IOException: https://dl.google.com/android/repository/addons_list-1.xml
java.net.ConnectException: Connection refused: connect
Failed to download any source lists!
解决办法:打开~/.gradle/gradle.properties 文件,打开并删掉代理配置(带有“proxy”的端口或ip地址配置)
感谢,还以为我的代理的问题!