将 Android 项目导入 VCS(Google Cloud 源存储库)时,我可以选择云项目,但查看存储库时出现以下错误:
我正在关注这个文档来导入项目:https ://cloud.google.com/tools/android-studio/vcs 。
Project level build.gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}