Unable to resolve resource bundle "*" for locale "en_US" (Flex, Flash Builder)

Martin picture Martin · Jun 24, 2010 · Viewed 10.2k times · Source

since I'm using custom skin classes in Flex I'm getting an error, when trying to open the design view in Flash Builder:

Description Resource Path Location Type

Unable to resolve resource bundle "components" for locale "en_US". 
Unable to resolve resource bundle "core" for locale "en_US". 
Unable to resolve resource bundle "effects" for locale "en_US". 
Unable to resolve resource bundle "layout" for locale "en_US". 
Unable to resolve resource bundle "skins" for locale "en_US". 
Unable to resolve resource bundle "styles" for locale "en_US". 

I tried a lot with setting locales in compiler arguments - but I thinks this error is directly related to a locale problem. When I check the flex framework directories "C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\spark\src\spark" - here are the original skin classes located - I can see all the "missing" folders.

Anybody has a clue about that issue?

Answer

Martin picture Martin · Jul 3, 2010

I could solve my problem by adding following Library Path to the Project settings / Flex Build Path:

C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\en_US

It seems that the Flex compiler knows the path when working with the standard skins but somehow it can't find it when dealing with custom skins.