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

ε祈祈猫儿з 提交于 2019-12-05 23:50:37

问题


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?


回答1:


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.




回答2:


If any issue like this type, means it can not found your file path

Go to Project --> Property-->Flex Build Path-->Source path-->Add Folder --> locale\en_US

which file error show on Description

here is additional source folder can be add outside of the main source folder




回答3:


In addition to what the previous answers here already address, there is another possible cause.

This error appears also when a required locale is missing from the SDK itself. The list of existing SDK locales can be found at SDK.INSTALL.DIR/sdks/VERSION.NO/frameworks/locale. If a required locale is not there, then you need to create it with the copylocale command.

For more information, see Creating a new locale for i18N capable application.



来源:https://stackoverflow.com/questions/3108065/unable-to-resolve-resource-bundle-for-locale-en-us-flex-flash-builder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!