i add a dependency lib ,
我添加了一个依赖库,
dependencies {
compile 'org.apache.commons:commons-lang3:3.1'
}
then i wish it can be download automatically, then refresh the external libriaries,so that the lib commons-lang3 will be shown in the external libriaries.
然后我希望它可以自动下载,然后刷新外部的libriaries,以便lib commons-lang3将显示在外部的libriaries中。
the detail message about the bug is :
关于这个bug的详细信息是:
https://github.com/SnowdreamFramework/android-log/issues/3
https://github.com/SnowdreamFramework/android-log/issues/3
IDE: IntelliJ IDEA (build #IC-139.225.3, 11 Nov 2014 00:00)
GRADLE: 2.2.1
Android Plugin: classpath 'com.android.tools.build:gradle:1.0.0-rc1'
OS: Windows 7 (6.1, x86)
JRE: 1.8.0_25-b18 (Oracle Corporation)
IDE: IntelliJ IDEA (build #IC-139.225.3, 2014年11月11日00:00)GRADLE: 2.2.1 Android插件:classpath 'com.android.tools.build: GRADLE: 1.0.0-rc1' OS: Windows 7 (6.1, x86) JRE: 1.8.0_25-b18 (Oracle公司)
1 个解决方案
#1
0
Buried deep in that log file is a line that suggests that you have a badly configured Nexus repository (github is not a nexus repo):
深埋在日志文件中是一条线,表明你有一个配置糟糕的Nexus存储库(github不是Nexus repo):
Caused by: java.lang.RuntimeException: org.apache.maven.wagon.ResourceDoesNotExistException: File: http://snowdream.github.io/mvn-repo/snapshots/.index/nexus-maven-repository-index.properties , ReasonPhrase:Not Found. at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:883) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.jetbrains.idea.maven.server.Maven3ServerIndexFetcher.retrieve(Maven3ServerIndexFetcher.java:100)
引起的:. lang。RuntimeException:org.apache.maven.wagon。ResourceDoesNotExistException:文件:http://snowdream.github.io/mvn-repo/snapshots/.index/nexus-maven-repository-index。属性,ReasonPhrase:未找到。在org.apache.maven.m .wagon. fillinputdata (abstracthttpclientwagon . fillinputdata (AbstractHttpClientWagon.java:883) at org.apache.maven.maven.gotinputstream (StreamWagon.java:116) at org.apache.m .wagon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
#1
0
Buried deep in that log file is a line that suggests that you have a badly configured Nexus repository (github is not a nexus repo):
深埋在日志文件中是一条线,表明你有一个配置糟糕的Nexus存储库(github不是Nexus repo):
Caused by: java.lang.RuntimeException: org.apache.maven.wagon.ResourceDoesNotExistException: File: http://snowdream.github.io/mvn-repo/snapshots/.index/nexus-maven-repository-index.properties , ReasonPhrase:Not Found. at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:883) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.jetbrains.idea.maven.server.Maven3ServerIndexFetcher.retrieve(Maven3ServerIndexFetcher.java:100)
引起的:. lang。RuntimeException:org.apache.maven.wagon。ResourceDoesNotExistException:文件:http://snowdream.github.io/mvn-repo/snapshots/.index/nexus-maven-repository-index。属性,ReasonPhrase:未找到。在org.apache.maven.m .wagon. fillinputdata (abstracthttpclientwagon . fillinputdata (AbstractHttpClientWagon.java:883) at org.apache.maven.maven.gotinputstream (StreamWagon.java:116) at org.apache.m .wagon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .