As far as I understand the generated BuildConfig variables should be assigned with as String type (quotes " "). It seems they are not in this case, the local builds are working as expected.
[Android] Runtime Environment variable exception in BuildConfig
Shashi
1
Reputation point
I created Custom Variables which are required for runtime build variables in Gradle, PFA image for Environment variables.
Issue : When the build runs the variables are picked as expected but BuildConfig variables are throwing the error with the syntax is incorrect after assigning runtime variable in BuildConfig. However this is running fine with local build.
Am I missing anything here ?
Community Center | Not monitored
Community Center | Not monitored
Tag not monitored by Microsoft.
2 answers
Sort by: Most helpful
-
Shashi 1 Reputation point
2021-09-30T07:42:31.403+00:00 -
Shashi 1 Reputation point
2021-09-30T07:35:22.61+00:00 Hello Jarvan Zang,
Thanks for the response, app is Native and written in Kotlin. Not sure how is it related to Xamarin ?