Gradle build error cannot resolv

2017-09-29  本文已影响0人  程序猿isMe

详细的错误信息

Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:classpath'.
Could not resolve io.fabric.tools:gradle:1.+.
Required by:
project :app
Could not resolve io.fabric.tools:gradle:1.+.
Failed to list versions for io.fabric.tools:gradle.
Unable to load Maven meta-data from https://maven.fabric.io/public/io/fabric/tools/gradle/maven-metadata.xml.
Could not GET 'https://maven.fabric.io/public/io/fabric/tools/gradle/maven-metadata.xml'.
Connect to 127.0.0.1:51566 [/127.0.0.1] failed: Connection refused

这个错误信息好像是连接到了本地,连接还被拒绝了,厉害了。。。。

经过一番谷歌,终于找到一个解决的办法,在此记录一下

解决

For me it worked just File->Invalidate Cache/Restart, so do Invalidate and Restart.

原文链接

此文只是记录一下遇到的问题,不喜勿喷,蟹蟹!!!!

上一篇下一篇

猜你喜欢

热点阅读