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

 ...

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章