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