2017-09-10 19 views
1

ionic cordova build androidを使用してIonic 2プロジェクトを構築しようとしていますが、このエラーが発生しています。私はこのエラーの原因を知りません。エラーは次のとおりです。cordova build android(exit code 1)の実行中にエラーが発生しました

cordova build android × Running command - failed!

[ERROR] Cordovaにエラーが発生しました。 上記のCordovaコマンドを直接実行すると、より多くの洞察を得ることができます。

は[ERROR]コルドバビルドアンドロイド(終了コード1)の実行中にエラーが発生しました:これは働いていた私にとって

(truncated) ... by: javax.net.ssl.SSLException: java.net.SocketException: Software caused connection abort: recv  failed 
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) 
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) 
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1916) 
    at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1880) 
    at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1825) 
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:116) 
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) 
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345) 
    at sun.net.www.MeteredStream.read(MeteredStream.java:134) 
    at java.io.FilterInputStream.read(FilterInputStream.java:133) 
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375) 
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3368) 
    at org.gradle.wrapper.Download.downloadInternal(Download.java:72) 
    ... 7 more 
    Caused by: java.net.SocketException: Software caused connection abort: recv failed 
    at java.net.SocketInputStream.socketRead0(Native Method) 
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) 
    at java.net.SocketInputStream.read(SocketInputStream.java:171) 
    at java.net.SocketInputStream.read(SocketInputStream.java:141) 
    at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) 
    at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593) 
    at sun.security.ssl.InputRecord.read(InputRecord.java:532) 
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) 
    at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) 
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) 
    ... 14 more 
    Error: cmd: Command failed with exit code 1 Error output: 
    Exception in thread "main" javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException:  java.net.SocketException: Software caused connection abort: recv failed 
    at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1551) 
    at sun.security.ssl.AppInputStream.available(AppInputStream.java:60) 
    at java.io.BufferedInputStream.available(BufferedInputStream.java:410) 
    at sun.net.www.MeteredStream.available(MeteredStream.java:170) 
    at sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:85) 
    at java.io.FilterInputStream.close(FilterInputStream.java:181) 
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:3448) 
    at org.gradle.wrapper.Download.downloadInternal(Download.java:91) 
    at org.gradle.wrapper.Download.download(Download.java:51) 
    at org.gradle.wrapper.Install$1.call(Install.java:62) 
    at org.gradle.wrapper.Install$1.call(Install.java:48) 
    at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69) 
    at org.gradle.wrapper.Install.createDist(Install.java:48) 
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107) 
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) 
    Caused by: javax.net.ssl.SSLException: java.net.SocketException: Software caused connection abort: recv failed 
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) 
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) 
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1916) 
    at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1880) 
    at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1825) 
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:116) 
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) 
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345) 
    at sun.net.www.MeteredStream.read(MeteredStream.java:134) 
    at java.io.FilterInputStream.read(FilterInputStream.java:133) 
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375) 
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3368) 
    at org.gradle.wrapper.Download.downloadInternal(Download.java:72) 
    ... 7 more 
    Caused by: java.net.SocketException: Software caused connection abort: recv failed 
    at java.net.SocketInputStream.socketRead0(Native Method) 
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) 
    at java.net.SocketInputStream.read(SocketInputStream.java:171) 
    at java.net.SocketInputStream.read(SocketInputStream.java:141) 
    at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) 
    at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593) 
    at sun.security.ssl.InputRecord.read(InputRecord.java:532) 
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) 
    at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) 
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) 
    ... 14 more 
    Picked up _JAVA_OPTIONS: -Xmx512M 
+0

何A:GoogleのDNSを置きますあなたはプラグインを使っていますか?あなたのプロジェクトの内容についてもっと簡単に説明できますか – Gandhi

答えて

-1

を:

ネットワーク設定に行く - >のIPv4 proprities - >変更のDNSと

8.8.8.8

8.8.4.4

関連する問題