美文网首页
升级Gradle 5.6.4出现的编译错误

升级Gradle 5.6.4出现的编译错误

作者: IT_xiao小巫 | 来源:发表于2021-03-23 22:59 被阅读0次

错误1:Could not find method execute() for arguments [] on task ':course:copyGuardDebugApk' of type org.gradle.api.tasks.Copy.

意思是自定义Task不能直接调用execute方法来执行,方法不可用。


image.png

解决方案:

使用finalizedBy替代execute

https://github.com/getsentry/sentry-java/pull/650

错误2:dex方法数超出65536

image.png

相关文章

网友评论

      本文标题:升级Gradle 5.6.4出现的编译错误

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