newrelic / newrelic-android-agent

SDK to enable instrumentation of Android mobile apps in New Relic
Apache License 2.0
13 stars 12 forks source link

Accessing to BuildConfigs properties by NewRelic #223

Open IvanKashtelyan opened 3 months ago

IvanKashtelyan commented 3 months ago

Description

After migrating the project to Gradle 8 and removing BuildConfings I faced many warnings with the message "Accessing value buildConfigFields in variant debug has no effect as the feature buildConfig is disabled." After researching I found that those warnings come from the NewRelic library. Does it have any impact on library work?

Steps to Reproduce

Upgrade gradle to version 8 and above and make sure that the generating BuildConfigs option is disabled

Expected Behavior

Warnings should not appear

Relevant Logs / Console output

Accessing value buildConfigFields in variant debug has no effect as the feature buildConfig is disabled.

Your Environment

Android agent - 7.3.1