美文网首页Android bug记录
Gradle:Failed to notify build li

Gradle:Failed to notify build li

作者: skyboyhp | 来源:发表于2019-06-27 17:35 被阅读0次

之前是gradle 4.4版本,插件 是3.1.4
升级到 5.1.1,插件版本 3.4.1
编译项目

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify build listener.
> java.lang.AbstractMethodError (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

CONFIGURE FAILED in 23s
Failed to notify build listener.

清除缓存,重启Android studio问题依然存在。


image.png

升级Android studio 到3.4.1版本可以 解决此问题。低版本的Android studio 没有高版本的gradle plugins插件,即使在build.gradle下配置好了对应的版本,依然无法正常编译项目

相关文章

网友评论

    本文标题:Gradle:Failed to notify build li

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