当前位置:   article > 正文

Unable to find method'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List' 构建错误解决办法_unable to find method ''void com.android.build.api

unable to find method ''void com.android.build.api.variant.androidcomponents

最近在做项目的时候,突然IDE来了个提示Gradle升级,升级之后就出现了如下的build构建错误提示信息,弄了许久才解决问题,所以想在这里总结一下,也能做个解决问题的参考


快速解决方法

原因分析:

Unable to find method'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List'
Possible causes for this unexpected error include:

  • Gradle’s
    dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
    Re-download dependencies and sync project (requires network)

  • The state of a Gradle build process(daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. ```Stop Gradle build processes (requires restart)```
  • Your project may be using a third-part y plugin which is not compatible with the other plugins in the project or the ve
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/382257
推荐阅读
相关标签
  

闽ICP备14008679号