Android开发的时候,我们经常会从github上面导入一些项目,但是因为每个上传项目不同,所以导致Gradle版本不兼容,开发如果遇到Error:Minimum supported Gradle version is 4.1. Current version is 2.14.1. If using the gradle wrapper, try editing the distributionUrl in XXX\gradle\wrapper\gradle-wrapper.properties to gradle-4.1-all.zip Consult IDE log for more 首先将build.gradle下面的classpath改成和其他项目的一样,然后查看一下gradle-wrapper.properties下面的distributionUrl改成一样即可
关于Error:Minimum supported Gradle version is 4.1. Current version is 2.14.1. If using the gradle wrap
最新推荐文章于 2023-04-21 00:50:42 发布
