我在自己的电脑上可以正常打包,但是放到公司的服务器上打包就会报错,公司的服务器没有网,wex5打包需要联网吗?
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApk'.
> A problem occurred configuring project ':CordovaLib'.
> Could not resolve all files for configuration ':CordovaLib:classpath'.
> Could not download android-maven-gradle-plugin.jar (com.github.dcendents:android-maven-gradle-plugin:1.5)
> Could not get resource 'https://repo1.maven.org/maven2/com/github/dcendents/android-maven-gradle-plugin/1.5/android-maven-gradle-plugin-1.5.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/com/github/dcendents/android-maven-gradle-plugin/1.5/android-maven-gradle-plugin-1.5.jar'.
> repo1.maven.org
> Could not download gradle-bintray-plugin.jar (com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3)
> Could not get resource 'https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.jar'.
> Could not HEAD 'https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.jar'.
> jcenter.bintray.com
> Could not download http-builder.jar (org.codehaus.groovy.modules.http-builder:http-builder:0.7.2)
> Could not get resource 'https://jcenter.bintray.com/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.jar'.
> Could not HEAD 'https://jcenter.bintray.com/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.jar'.
> jcenter.bintray.com
> Could not download maven-ant-tasks.jar (org.apache.maven:maven-ant-tasks:2.1.3)
> Could not get resource 'https://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar'.
> repo1.maven.org
> Could not download httpclient.jar (org.apache.httpcomponents:httpclient:4.2.1)
> Could not get resource 'https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar'.
> repo1.maven.org
> Could not download json-lib-jdk15.jar (net.sf.json-lib:json-lib:2.3)
> Could not get resource 'https://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.3/json-lib-2.3-jdk15.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.3/json-lib-2.3-jdk15.jar'.
> repo1.maven.org
> Could not download nekohtml.jar (net.sourceforge.nekohtml:nekohtml:1.9.16)
> Could not get resource 'https://repo1.maven.org/maven2/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar'.
> repo1.maven.org
> Could not download xml-resolver.jar (xml-resolver:xml-resolver:1.2)
> Could not get resource 'https://repo1.maven.org/maven2/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar'.
> repo1.maven.org
> Could not download ant.jar (org.apache.ant:ant:1.8.0)
> Could not get resource 'https://repo1.maven.org/maven2/org/apache/ant/ant/1.8.0/ant-1.8.0.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/org/apache/ant/ant/1.8.0/ant-1.8.0.jar'.
> repo1.maven.org
> Could not download classworlds.jar (classworlds:classworlds:1.1-alpha-2)
> Could not get resource 'https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar'.
> repo1.maven.org
> Could not download plexus-container-default.jar (org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1)
> Could not get resource 'https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar'.
> Could not HEAD 'https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar'.
> repo1.maven.org
> Could not download plexus-utils.jar (org.codehaus.plexus:plexus-utils:1.5.15)