因为我在Flex中使用自定义外观类当试图在Flash Builder中打开设计视图时出现错误:
说明资源路径位置类型 无法解析区域设置en_US的资源包组件。 无法解析区域设置en_US的资源包core。 无法解析区域设置en_US的资源包效果。 无法解析区域设置en_US的资源包布局。 无法解析区域设置en_US的资源包皮肤。 无法解析区域设置en_US的资源包样式。我在编译器参数中设置了locales,但是我认为这个错误直接关系到区域设置问题。当我检查flex框架目录C:\ Program Files \Adobe\Adobe Flash Builder 4 \sdks\4.0.0\frameworks\projects\spark\src\\ \\ spark - 这里是原始的皮肤类位于 - 我可以看到所有缺少文件夹。
任何人都有关于这个问题的线索?
解决方案解决我的问题,通过添加以下库路径到项目设置/ Flex构建路径: pre code C:\ Program Files \Adobe \\ Adobe Flash Builder 4 \sdks\4.0.0\frameworks\locale\en_US
<看起来,Flex编译器知道使用标准外观时的路径,但在处理自定义外观时却无法找到。
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?
解决方案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_USIt 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.
更多推荐
无法解析资源包“*”对于区域设置“en
发布评论