美文网首页
Gradle build error cannot resolv

Gradle build error cannot resolv

作者: 程序猿isMe | 来源:发表于2017-09-29 10:06 被阅读0次

    详细的错误信息

    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.

    原文链接

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

    相关文章

      网友评论

          本文标题:Gradle build error cannot resolv

          本文链接:https://www.haomeiwen.com/subject/djnbextx.html