无法解析资源包“*"用于语言环境“en_US"(Flex, Flash Builder) [英] Unable to resolve resource bundle "*" for locale "en_US" (Flex, Flash Builder)

查看:34
本文介绍了无法解析资源包“*"用于语言环境“en_US"(Flex, Flash Builder)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我在 Flex 中使用自定义皮肤类,因此在尝试在 Flash Builder 中打开设计视图时出现错误:

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". 

我尝试了很多在编译器参数中设置语言环境 - 但我认为这个错误与语言环境问题直接相关.当我检查 flex 框架目录 "C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\spark\src\spark" - 这里是原始皮肤找到的类 - 我可以看到所有丢失"的文件夹.

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.

有人知道这个问题吗?

推荐答案

我可以通过将以下库路径添加到项目设置/Flex 构建路径来解决我的问题:

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

似乎 Flex 编译器在处理标准皮肤时知道路径,但在处理自定义皮肤时却找不到它.

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天全站免登陆