gradle构建失败并显示消息
Error:Could not create parent directory for lock file C:\Program Files\Android\Android Studio\gradle\gradle-2.14.1\wrapper\dists\gradle-2.14.1-all\8bnwg5hd3w55iofp58khbp6yv\gradle-2.14.1-all.zip.lck
这是我的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:2.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
更新后,所有项目都显示相同的错误.
博客主要讲述了Android开发中Gradle构建失败的问题,构建失败时显示无法创建锁文件的父目录的错误信息。更新后,所有项目都出现此相同错误,还给出了build.gradle(项目)的代码内容。
5549

被折叠的 条评论
为什么被折叠?



