Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: API 'variantOutput.getPackageLibrary()' is obsolete and has been replaced with 'variant.getPackageLibraryProvider()'. #2

Closed
pumu97 opened this issue May 16, 2019 · 1 comment

Comments

@pumu97
Copy link

pumu97 commented May 16, 2019

demo运行时报错

WARNING: API 'variantOutput.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.
To determine what is calling variantOutput.getPackageLibrary(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Affected Modules: FlycoTabLayout_Lib

grdle版本:
com.android.tools.build:gradle:3.3.1
distributionUrl=https://services.gradle.org/distributions/gradle-4.10.1-all.zip

@li504799868
Copy link
Owner

这个是一个警告,好像是我发布jCenter的插件报的警告,我之后会把他改掉,3Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants