Skip to main content
Participant
February 20, 2012
Question

Resource Manager LoadResourceModule works desktop and mobile emulator, fails on devices

  • February 20, 2012
  • 1 reply
  • 1536 views

So, we load in our language files, and also some config information into our app at startup using resourceManager.loadResourceModule(), loading resource Modules we have precompiled into a language swf. This works fine on the desktop applications, and also works fine when running as a mobile app in the emulator. But when I try to run it on an Android device via usb debugging I get:

[SWF] assets/language/Resources_en_US.swf - 92,963 bytes after decompression

Error #2046: The loaded file did not have a valid signature.

Failed to load RSL http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/framework_4.6.0.23201.swz

Failing over to RSL framework_4.6.0.23201.swz

Error #2032: Stream Error. URL: app:/assets/language/framework_4.6.0.23201.swz

Where that initial Resources_en_US.swf is the one I'm trying to load. It seems to be happ initially (as it says how many bytes it is), but then fails. When I try the same app compiled into an IPA on an iPad it doesn't die, but none of the language fields come up.

Anyone have any idea what's causing this? I've removed and recompiled the language file, I've cleaned the project over and over... I just don't know what the issue is.

This is causing us some grief as we then load in (at runtime) some server config strings into our language resources and with this failing we can't do it

This topic has been closed for replies.

1 reply

Participant
January 11, 2013

Hi,

Have you found a solution to this problem ?

I have exactely the same

tank you for your help