问题1:
WARNING: API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'.
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 variant.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: lib
旧:variant.assemble.doLast
新:variant.getAssembleProvider().get().doLast
本文探讨了在Gradle构建中遇到的警告:'variant.getAssemble()'即将废弃,并被'variant.getAssembleProvider()'取代。该警告将在2019年底移除。文章提供了更新的方法,以避免使用过时的API,包括如何确定哪些模块调用了旧API。

268

被折叠的 条评论
为什么被折叠?



