使用本地的配置!
(1) C:\Users\yue\AndroidStudioProjects\MyDemo\gradle\wrapper\gradle-wrapper.properties #Tue Mar 07 09:45:44 GMT+08:00 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip (2) project build.gradle buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } (3) module build.gradle android { compileSdkVersion 25 buildToolsVersion "25.0.2"
转载请注明原文地址: https://ju.6miu.com/read-14617.html