美文网首页
Error:Could not find org.jetbrai

Error:Could not find org.jetbrai

作者: 王冥 | 来源:发表于2018-07-02 11:08 被阅读1208次

    Error:Could not find org.jetbrains.trove4j:trove4j:20160824.的解决方法

    出现的问题的代码

    FAILURE: Build failedwithan exception.

    * What went wrong:

    A problem occurred configuring project':myProject'.

    > Couldnotresolve all filesforconfiguration':myProject:classpath'.

    > Couldnotfind org.jetbrains.trove4j:trove4j:20160824.

    Searchedinthe following locations:

    https://repo1.maven.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom

    https://repo1.maven.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar

    https://maven.fabric.io/public/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom

    https://maven.fabric.io/public/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar

    https://maven.google.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom

    https://maven.google.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar

        Required by:

    project :metam > com.android.tools.build:gradle:3.0.0-beta2 > com.android.tools.build:gradle-core:3.0.0-beta2 >

    com.android.tools.lint:lint:26.0.0-beta2 > com.android.tools.lint:lint-checks:26.0.0-beta2 > com.android.tools.lint:lint-

    api:26.0.0-beta2 > com.android.tools.external.com-intellij:intellij-core:26.0.0-beta2

    解决方法是:

    down vot

    this issue can be resolved by adding jcenter() as a repository in the buildscript section.

    buildscript {

      repositories {

    jcenter()

      }

      dependencies {

    classpath'com.android.tools.build:gradle:3.0.0-beta2'

      }

    }

    31down vote

    this issue can be resolved by adding jcenter() as a repository in the buildscript section.

    buildscript {

      repositories {

        jcenter()

      }

      dependencies {

    classpath'com.android.tools.build:gradle:3.0.0-beta2'

      }

    }

    相关文章

      网友评论

          本文标题:Error:Could not find org.jetbrai

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