1. 异常提示信息
Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-6.1.1-all.zip'.
2. 解决方法
Settings --> Build,Execution,Deployment --> Gradle 配置
在Use Gradle from选择 “Specified location”,选择本地配置的Gradle构建工具
3. 重新加载工程
build日志信息:
Starting Gradle Daemon...
Gradle Daemon started in 1 s 555 ms
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 48s
看到结果显示:BUILD SUCCESSFUL