无法解析资源包“*”对于区域设置“en_US” (Flex,Flash Builder) [英] Unable to resolve resource bundle "*" for locale "en_US" (Flex, Flash Builder)

查看:241
本文介绍了无法解析资源包“*”对于区域设置“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_US” (Flex,Flash Builder)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆