爲什麼我會得到這個錯誤?,如何解決它,我試圖按照任何介紹,但它不能得到修復。如何修復Gradle項目刷新失敗
Gradle project refresh failed Error:Could not download artifact 'com.android.tools.build:builder:0.12.2:builder.jar': No cached version available for offline mode
我的build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
感謝您的解決方案/想法。
請向我們展示您的gradle文件。 –