【问题标题】:Android Project refresh failed : gradle build failedAndroid 项目刷新失败:gradle build failed
【发布时间】:2017-02-08 15:17:11
【问题描述】:
Error:Could not find com.android.tools.build:gradle:2.2.0.
Searched in the following locations:
    https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom
    https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar
Required by:
    HapiKey Project:camera:unspecified

【问题讨论】:

    标签: android maven android-studio build android-gradle-plugin


    【解决方案1】:

    将 jcenter 添加到项目级 build.gradle 中的存储库

    buildscript { repositories { jcenter() } // ... }

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-13
      • 1970-01-01
      • 1970-01-01
      • 2013-11-21
      • 1970-01-01
      • 2017-03-26
      • 1970-01-01
      相关资源
      最近更新 更多