首页 > 技术文章 > 编译时出现 'variantOutput.getProcessResources()' 过时第三方组件解决方法

finn21 2020-04-27 10:43 原文

很多引用 butterknife 出现如下


 

WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: app

推荐阅读