Skip to content

Gradle - Determine Obsolete 'BaseVariant.getApplicationIdTextResource' Call #15886

@ParaskP7

Description

@ParaskP7

TL;DR

As part of Gradle 7.3.3 & AGP 7.0.4 upgrade, a new API warning appeared that informs about the obsolete BaseVariant.getApplicationIdTextResource call.

Details

WARNING:API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'.
It will be removed in version 7.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions