为什么我会得到这个错误?,如何解决它,我试图按照任何介绍,但它不能得到修复。如何修复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文件。 –