解决 Error: Could not find compiled resource bundle ' ' for locale ' '.
来源:互联网 发布:中国余数定理 算法讲解 编辑:程序博客网 时间:2024/06/01 09:31
在Flash Builder 4.x中,当一个项目使用外部资源的RSL,你有可能得到一个运行时错误"无法找到编译的资源包..."的错误 。我还没有确定的确切原因,除了发现Adobe论坛一种解决方法。总结解决这个问题的过程,这里写了修复的错误的步骤 :
1.)当你看到错误消息,请记下错误资源的名称。例如,“RPC”。
2.)转到你的Flex SDK目录,寻找名称相同的文件,扩展名为"***.properties"的文件。
3.)找到你编译参数的 -local 后面的语言,比如"en_US",则(..\Flex SDK\4.5.1\frameworks\projects\rpc\bundles\en_US\rpc.properties),并在文本编辑器里打开它。
4.)文件中的注释行,以#开头,从这些注释中,你应该能够找到一些类名。在这个例子中,我看到的HttpService。
5.)在你的(主应用程序)代码里,用你刚才看到的类名显示的声明一个变量,例如,定义一个<HttpService />
或者var httpService:HttpService. 通过以上的引用,主应用程序才会拿起在RSL的运用此类相关的资源包。
当你发现如此简单就可以解决此问题,跟我一样撕心裂肺吧,
- 解决 Error: Could not find compiled resource bundle ' ' for locale ' '.
- MissingResourceException: Can't find resource for bundle java....错误解决
- Flex Compile ERROR:Unable to resolve resource bundle "AAA" for locale "en_US"
- RESTEASY报错Could not find resource for full path
- Configuration Error: Can't find bundle for base name src.config.lvg, locale zh_CN
- 解决error[22,0]Could not find method android() for arguments的方法
- 解决 java.util.MissingResourceException: Can't find bundle for base name com...config, locale zh_CN 错误
- 解决java.util.MissingResourceException: Can't find bundle for base name configContext, locale zh_CN
- Unable to resolve resource bundle for locale "en_US".
- Unable to resolve resource bundle for locale “en_US”
- Unable to resolve resource bundle “CairngormMessages” for locale “en_US”
- Unable to resolve resource bundle “datamanagement” for locale “zh_CN”
- Unable to resolve resource bundle for locale "en_US"
- Qt for Android - Internal Error: Could not find .pro file
- Error:(22, 0) Could not find method android() for argument
- ButterKnife:“Error:Could not find method apt() for arguments ...”
- Error: could not find java.dll如何解决
- Error: could not find java.dll如何解决
- http://www.yayatan.cn/?fromuid=193722
- Linux下用WiFi上网
- oracle面试题一
- 如何写优雅的代码(2)——#define?const?还是enum?
- cramfs工具的编译
- 解决 Error: Could not find compiled resource bundle ' ' for locale ' '.
- 高效的字符串反转函数
- GNU make---When Variables Are Expanded
- fibonacci数列C++语言多种实现
- 如何写优雅的代码(1)——灵活使用goto和__try
- C语言面试题收集(函数调用、指针等)
- 中介者模式
- android handlerthread 通知机制
- 血战长空全集(1-40)骗人死全家