Closed hugorplobo closed 10 months ago
Hi, I have my gradle and local.properties files like this:
When I try to access BuildConfig.apiKey in my kotlin files, I get an Unresolved reference, but in the Android Manifest it works:
BuildConfig.apiKey
Unresolved reference
Please, what am I doing wrong?
Resolved by adding buildConfig = true in buildFeatures.
buildConfig = true
buildFeatures
Hi, I have my gradle and local.properties files like this:
When I try to access
BuildConfig.apiKey
in my kotlin files, I get anUnresolved reference
, but in the Android Manifest it works:Please, what am I doing wrong?