无法解析资源包“*”对于区域设置“en

编程入门 行业动态 更新时间:2024-10-26 12:24:32
本文介绍了无法解析资源包“*”对于区域设置“en_US” (Flex,Flash Builder)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

因为我在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 \\ Adob​​e 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_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.

更多推荐

无法解析资源包“*”对于区域设置“en

本文发布于:2023-11-13 01:34:58,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:区域   资源   en

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!