You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is:
error: cannot find symbol
boolean found = BuildConfig.TRANSLATION_ARRAY.length == 0;
^
symbol: variable TRANSLATION_ARRAY
location: class BuildConfig
It appears that there is code in the build.gradle that is supposed to generate this array:
task buildTranslationArray {
doLast {
def foundLocales = new StringBuilder()
foundLocales.append("new String[]{")
I'm getting an error when building the App.
The error is:
error: cannot find symbol
boolean found = BuildConfig.TRANSLATION_ARRAY.length == 0;
^
symbol: variable TRANSLATION_ARRAY
location: class BuildConfig
It appears that there is code in the build.gradle that is supposed to generate this array:
task buildTranslationArray {
doLast {
def foundLocales = new StringBuilder()
foundLocales.append("new String[]{")
}
preBuild.dependsOn buildTranslationArray
Are there any logs to check that show why this gradle code is not generating the array code in the BuildConfig.java file?
The text was updated successfully, but these errors were encountered: