Could not install Gradle distribution from xxx


1. 異常提示信息

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-6.1.1-all.zip'.

avatar

2. 解決方法

Settings --> Build,Execution,Deployment --> Gradle 配置

在Use Gradle from選擇 “Specified location”,選擇本地配置的Gradle構建工具

avatar

3. 重新加載工程

avatar

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM