Failed to resolve
一:
把//classpath 'com.android.tools.build:gradle:2.2.2'改成
classpath 'com.android.tools.build:gradle:3.0.1'
加上
maven {
url "https://jitpack.io"
}
二:
把#distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip改成
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip