Mobile/Android

gradle project sync failed 해결방법

xProgrammer 2018. 4. 6. 00:28
아래의 파일들을 수정한다.

build.gradle
buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.0'
    }
}
gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip