Android Build Gradle 升级常见问题

问题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

上一篇:Collection下子接口set


下一篇:Gradle DSL Walle渠道包后安装启动APP