If using the gradle wrapper, try editing the distributionUrl in xxxx/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip
(1) 修改gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
(2)修改build.gradle
classpath ‘com.android.tools.build:gradle:1.5.0‘
时间: 2024-10-24 11:01:04