Build android error when download gradle behide proxy with VS2015 -


when use vs2015 build android, , start download gradle, enviroment behide corp proxy, , got error below.

is there anyway setup gradle proxy when download through proxy?

     ------ build configuration options: --debug     1>  running command: cmd "/s /c "c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\cordova\build.bat --debug --buildconfig=c:\@temp\blankcordovaapp1\blankcordovaapp1\build.json""     1>  android_home=c:\@apptool\android-sdk-windows     1>  java_home=c:\program files\java\jdk1.8.0_05     1>  reading build config file: c:\@temp\blankcordovaapp1\blankcordovaapp1\build.json     1>  running: c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\gradlew cdvbuilddebug -b c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\build.gradle -dorg.gradle.daemon=true     1>  downloading http://services.gradle.org/distributions/gradle-2.2.1-all.zip     1>     1>  exception in thread "main" java.lang.runtimeexception: java.net.connectexception: connection refused: connect     1>      @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileaccessmanager.java:78)     1>      @ org.gradle.wrapper.install.createdist(install.java:47)     1>      @ org.gradle.wrapper.wrapperexecutor.execute(wrapperexecutor.java:129)     1>      @ org.gradle.wrapper.gradlewrappermain.main(gradlewrappermain.java:48)     1>  caused by: java.net.connectexception: connection refused: connect     1>      @ java.net.dualstackplainsocketimpl.connect0(native method)     1>      @ java.net.dualstackplainsocketimpl.socketconnect(dualstackplainsocketimpl.java:79)     1>      @ java.net.abstractplainsocketimpl.doconnect(abstractplainsocketimpl.java:345)     1>      @ java.net.abstractplainsocketimpl.connecttoaddress(abstractplainsocketimpl.java:206)     1>      @ java.net.abstractplainsocketimpl.connect(abstractplainsocketimpl.java:188)     1>      @ java.net.plainsocketimpl.connect(plainsocketimpl.java:172)     1>      @ java.net.sockssocketimpl.connect(sockssocketimpl.java:392)     1>      @ java.net.socket.connect(socket.java:589)     1>      @ java.net.socket.connect(socket.java:538)     1>      @ sun.net.networkclient.doconnect(networkclient.java:180)     1>      @ sun.net.www.http.httpclient.openserver(httpclient.java:432)     1>      @ sun.net.www.http.httpclient.openserver(httpclient.java:527)     1>      @ sun.net.www.http.httpclient.<init>(httpclient.java:211)     1>      @ sun.net.www.http.httpclient.new(httpclient.java:308)     1>      @ sun.net.www.http.httpclient.new(httpclient.java:326)     1>      @ sun.net.www.protocol.http.httpurlconnection.getnewhttpclient(httpurlconnection.java:1167)     1>      @ sun.net.www.protocol.http.httpurlconnection.plainconnect0(httpurlconnection.java:1103)     1>      @ sun.net.www.protocol.http.httpurlconnection.plainconnect(httpurlconnection.java:997)     1>      @ sun.net.www.protocol.http.httpurlconnection.connect(httpurlconnection.java:931)     1>      @ sun.net.www.protocol.http.httpurlconnection.getinputstream0(httpurlconnection.java:1511)     1>      @ sun.net.www.protocol.http.httpurlconnection.getinputstream(httpurlconnection.java:1439)     1>      @ org.gradle.wrapper.download.downloadinternal(download.java:59)     1>      @ org.gradle.wrapper.download.download(download.java:45)     1>      @ org.gradle.wrapper.install$1.call(install.java:60)     1>      @ org.gradle.wrapper.install$1.call(install.java:47)     1>      @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileaccessmanager.java:65)     1>      ... 3 more     1>     1>  c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\cordova\node_modules\q\q.js:126     1>                      throw e;     1>                      ^     1>  error code 1 command: cmd args: /s /c "c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\gradlew cdvbuilddebug -b c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\build.gradle -dorg.gradle.daemon=true"     1>  command finished error code 1: cmd /s /c "c:\@temp\blankcordovaapp1\blankcordovaapp1\platforms\android\cordova\build.bat --debug --buildconfig=c:\@temp\blankcordovaapp1\blankcordovaapp1\build.json"     1>error building 1 of platforms : error : cmd: command failed exit code 1 

http://services.gradle.org unavailable right now, corp proxy not problem: http://downforeveryoneorjustme.com/services.gradle.org


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -