Coursera에서 과정을 수강 중이며 강사가 간단한지도 프로젝트를 업로드했습니다.가져 오거나 gitlab에서 복제하려고하면이 메시지가 표시됩니다.
-gradle 파일을 삭제하고 Android 스튜디오를 다시 시작하려고했습니다.
-캐시 무효화 / 다시 시작을 시도했습니다.
누군가가 문제를 설명하고 어떻게 해결할 수 있습니까?이전에 모두 감사합니다.
문제 이미지
프로젝트는 다음과 같습니다. https://gitlab.com/vandy-aad-2/MapLocation
몇 가지 파일 gradle을 업데이트해야합니다.
build.gradle (앱)
apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "30.0.0"
defaultConfig {
applicationId "course.maplocation"
minSdkVersion 24
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:28.0.0'
}
build.gradle (MapLocation) :
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
gradle-wrapper.properties :
#Fri Sep 02 18:48:56 CDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip