API 'BaseVariant.getApplicationIdTextResource' is obsolete

Viewed 1814

Android Studio is spitting this warning from Gradle as soon as I build my project:

API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see TBD.
To determine what is calling BaseVariant.getApplicationIdTextResource, use - 
Pandroid.debug.obsoleteApi=true on the command line to display more information.

I've read that there is an open issue within Google's Issue Tracker here which has been open for a few months but I would love to get a straight answer or at least a hint on how to run that line of code mentioned at the end of the warning:

To determine what is calling BaseVariant.getApplicationIdTextResource, use - 
Pandroid.debug.obsoleteApi=true on the command line to display more information.
0 Answers
Related