美文网首页
android 编译报的错 Cause: unable to f

android 编译报的错 Cause: unable to f

作者: 飞不起的小鸟 | 来源:发表于2020-02-27 11:25 被阅读0次
  • 点开toggle view 查看详细

Could not determine the dependencies of task ':app:lintVitalRelease'.
Could not resolve all task dependencies for configuration ':app:lintClassPath'.
Could not resolve org.codehaus.groovy:groovy-all:2.4.12.
Required by:
project :app > com.android.tools.lint:lint-gradle:26.2.0
Could not resolve org.codehaus.groovy:groovy-all:2.4.12.
Could not get resource 'http://maven.aliyun.com/nexus/content/repositories/jcenter/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.pom'.

在app>build.gradle加入此代码

android{

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }

}

相关文章

网友评论

      本文标题:android 编译报的错 Cause: unable to f

      本文链接:https://www.haomeiwen.com/subject/jurthhtx.html