1、Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle
a、打开gradle-wrapper.properties
修改如下
原路径:distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
新路径:
distributionUrl=https\://downloads.gradle-dn.com/distributions/gradle-2.10-all.zip
gradle-2.10-all.zip/ 换成自己的.zip包
2、License for package Android SDK Build-Tools 28.0.3 not accepted
进入该目录下的cmd命令行
运行sdkmanager.bat --licenses命令,然后答Yes
参考: