SDK 4.2.x String not defined in language default

Just tried to compile using 4.2.1 (and .2 and .3) and am getting the error below.   I haven't seen this before and it does not occur in 4.1.x SDK's

String ID xxxxx not defined for language "DEFAULT'

the twist is the strings it is complaining about are NOT in the monkey.jungle file paths I have setup for the devices it is complaining about.   somehow it is looking at strings i have for higher memory devices that are in completely different folders.  If i put these in the main strings.xml, the error goes away, but then i'm including strings not needed for some apps and will probably have memory problems in the lower memory devices.

file structure is more or less like this

resources/strings -> base strings for all devices

highmem/strings -> extra strings for high mem devices

monkey.jungle for low mem is just pointing to resources/strings

and the compiler error is a low mem device complaining about strings in the highmem/strings folder

highmem devices compile just fine

i'll keep using the 4.1.7 SDK for now as that isn't causing any errors, but looks like some newer devices want the 4.2 sdk

  • I had similar issues. I think even with 4.1.7. Look at the Memory View > <Global> > Strings, you might be surprised to find that some of the highmem strings appear on the lowmem devices

  • ah forgot something: do you have your translations in resources-<lng> directory? If you do then you can only have there the translations for the strings in resources/strings. And you'll need to build the translations for the highmem devices in the jungle file... I hope you generate it and not editing it manually...

  • thanks for the suggestions.  got distracted with the day job for awhile and just got back to this.

    turns out it was actually the "resources-eng" folder i had seen as a suggestion to get around the bug in Garmin Express where it shows the wrong languages in the settings.  Once I killed that folder, then everything compiled fine.

  • Yeah, i think i suggested it somewhere long ago, unfortunately it doesn't really work :(