Unable to 'ionic build android' -
i've overcome few obstacles in getting ionic set up. modified android_home , java_home env. variables. when try build android emulator following error:
exception in thread "main" java.lang.runtimeexception: java.net.socketexception: connection reset @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileacc essmanager.java:78) @ org.gradle.wrapper.install.createdist(install.java:47) @ org.gradle.wrapper.wrapperexecutor.execute(wrapperexecutor.java:129) @ org.gradle.wrapper.gradlewrappermain.main(gradlewrappermain.java:48) caused by: java.net.socketexception: connection reset @ java.net.socketinputstream.read(socketinputstream.java:210) @ java.net.socketinputstream.read(socketinputstream.java:141) @ sun.security.ssl.inputrecord.readfully(inputrecord.java:465) @ sun.security.ssl.inputrecord.read(inputrecord.java:503) @ sun.security.ssl.sslsocketimpl.readrecord(sslsocketimpl.java:973) @ sun.security.ssl.sslsocketimpl.waitforclose(sslsocketimpl.java:1769) @ sun.security.ssl.handshakeoutstream.flush(handshakeoutstream.java:124 ) @ sun.security.ssl.handshaker.kickstart(handshaker.java:1067) @ sun.security.ssl.sslsocketimpl.kickstarthandshake(sslsocketimpl.java: 1487) @ sun.security.ssl.sslsocketimpl.performinitialhandshake(sslsocketimpl. java:1351) @ sun.security.ssl.sslsocketimpl.starthandshake(sslsocketimpl.java:1403 ) @ sun.security.ssl.sslsocketimpl.starthandshake(sslsocketimpl.java:1387 ) @ sun.net.www.protocol.https.httpsclient.afterconnect(httpsclient.java: 559) @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.connect (abstractdelegatehttpsurlconnection.java:185) @ sun.net.www.protocol.http.httpurlconnection.getinputstream0(httpurlco nnection.java:1546) @ sun.net.www.protocol.http.httpurlconnection.getinputstream(httpurlcon nection.java:1474) @ sun.net.www.protocol.https.httpsurlconnectionimpl.getinputstream(http surlconnectionimpl.java:254) @ org.gradle.wrapper.download.downloadinternal(download.java:59) @ org.gradle.wrapper.download.download(download.java:45) @ org.gradle.wrapper.install$1.call(install.java:60) @ org.gradle.wrapper.install$1.call(install.java:47) @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileacc essmanager.java:65) ... 3 more error: cmd: command failed exit code 1 error output: exception in thread "main" java.lang.runtimeexception: java.net.socketexception: connection reset @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileacc essmanager.java:78) @ org.gradle.wrapper.install.createdist(install.java:47) @ org.gradle.wrapper.wrapperexecutor.execute(wrapperexecutor.java:129) @ org.gradle.wrapper.gradlewrappermain.main(gradlewrappermain.java:48) caused by: java.net.socketexception: connection reset @ java.net.socketinputstream.read(socketinputstream.java:210) @ java.net.socketinputstream.read(socketinputstream.java:141) @ sun.security.ssl.inputrecord.readfully(inputrecord.java:465) @ sun.security.ssl.inputrecord.read(inputrecord.java:503) @ sun.security.ssl.sslsocketimpl.readrecord(sslsocketimpl.java:973) @ sun.security.ssl.sslsocketimpl.waitforclose(sslsocketimpl.java:1769) @ sun.security.ssl.handshakeoutstream.flush(handshakeoutstream.java:124 ) @ sun.security.ssl.handshaker.kickstart(handshaker.java:1067) @ sun.security.ssl.sslsocketimpl.kickstarthandshake(sslsocketimpl.java: 1487) @ sun.security.ssl.sslsocketimpl.performinitialhandshake(sslsocketimpl. java:1351) @ sun.security.ssl.sslsocketimpl.starthandshake(sslsocketimpl.java:1403 ) @ sun.security.ssl.sslsocketimpl.starthandshake(sslsocketimpl.java:1387 ) @ sun.net.www.protocol.https.httpsclient.afterconnect(httpsclient.java: 559) @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.connect (abstractdelegatehttpsurlconnection.java:185) @ sun.net.www.protocol.http.httpurlconnection.getinputstream0(httpurlco nnection.java:1546) @ sun.net.www.protocol.http.httpurlconnection.getinputstream(httpurlcon nection.java:1474) @ sun.net.www.protocol.https.httpsurlconnectionimpl.getinputstream(http surlconnectionimpl.java:254) @ org.gradle.wrapper.download.downloadinternal(download.java:59) @ org.gradle.wrapper.download.download(download.java:45) @ org.gradle.wrapper.install$1.call(install.java:60) @ org.gradle.wrapper.install$1.call(install.java:47) @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileaccessmanager.java:65) ... 3 more
i'm using windows 7.
slack suggests deleting c:\users\username\.gradle\
i've tried no avail. issue downloading downloading https://services.gradle.org/distributions/gradle-2.14.1-all.zip
Comments
Post a Comment