主要原因是因为Android studio版本过高,回退版本
修改adle下的classpath 'ls.build:gradle:3.1.1'
buildscript {repositories {google()jcenter()}dependencies {classpath 'ls.build:gradle:3.1.1'classpath 'org.ajoberstar:gradle-git:1.7.2'// NOTE: Do not place your application dependencies here; they belong// in the individual adle files} }
修改gradle-wrapper.properties下的distributionUrl=https://adle/distributions/gradle-4.10.1-all.zip
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https://adle/distributions/gradle-4.10.1-all.zip
本文发布于:2024-01-31 16:15:42,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170668894229792.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |