今天我将一个项目的kotlin插件版本升级到1.3.31会出现下面警告
WARNING: API 'variant.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
REASON: The Kotlin plugin is currently calling this API. We are working to solve this.
WARNING: Debugging obsolete API calls can take time during configuration. It's recommended to not keep it on at all times.
仔细检查了一遍发现不是自己的项目配置内容导致的,应该是插件本身的问题,我降低到版本1.3.21也是没有问题的,所以这个问题直接忽略就行了
我要评论