Minimum supported Gradle version is 4.1. Current version is 2.14.1

Error:Minimum supported Gradle version is 4.1. Current version is 2.14.1. If using the gradle wrapper, try editing the distributionUrl in G:\MyApplication\qsbk\gradle\wrapper\gradle-wrapper.properties to gradle-4.1-all.zip

Consult IDE log for more details (Help | Show Log)

有时候我们运行别人的项目时,会发现这个问题

其实是他人的版本过低导致的

按照报错结果,我们可以去到gradle\wrapper\gradle-wrapper.properties   这个文件里

只需把这里的2.14.1改成我们本地版本就可以了  4.1 

然后就不会有这个错误了

猜你喜欢

转载自www.cnblogs.com/YKingcc/p/9853728.html
今日推荐