Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

API 'variant.getPreBuild()' is obsolete #29

Open
justcla opened this issue Jul 31, 2019 · 2 comments
Open

API 'variant.getPreBuild()' is obsolete #29

justcla opened this issue Jul 31, 2019 · 2 comments

Comments

@justcla
Copy link

justcla commented Jul 31, 2019

When building Santa Tracker with Studio 3.4.2, a WARNING is produced citing "variant.getPreBuild()" as deprecated.

WARNING: API 'variant.getPreBuild()' is obsolete and has been replaced with 'variant.getPreBuildProvider()'.
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.getPreBuild(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Affected Modules: santa-tracker

@AbhiAndroidManiac
Copy link

I got the same error while building the project.

@JavierRefuerzo
Copy link

I have similar issues caused by "playServicesOssLicenses" in build.gradle

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

No branches or pull requests

3 participants