Android Studio warning variantOutput.getProcessResources()

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

问题: API 过时

如何解决:

1. 目前可以忽视,等待接入的三方SDK解决使用此方法的问题

2. gradle 调回旧版本

classpath 'com.android.tools.build:gradle:3.2.1' //roll back to this version

 ...

猜你喜欢

转载自blog.csdn.net/aikongmeng/article/details/89673435
今日推荐