Glad it works :-)

> VerifyError: Error #1079: Native methods are not allowed in loaded code.
> 
> Removing frameworks\libs\player\18.0
> from Global Libraries -> FlexJS fixed it and I can now run MobileTrader on
> the AIR simulator.
> 
> I assume there's a more elegant solution to the above error but I couldn't
> find one.

Still, it sounds like there is still a gotcha in the setup, I could be wrong 
but this error make me think you are probably using FP native API into AIR app, 
can you double check the FlexJS Lib is set from 
<FLEXJS_INSTALL_FOLDER>\frameworks and looks like this [1] and this global 
library is set as merged in your module dependencies ? The SDK should also 
contain ./frameworks entries only.

Btw, if you update the .rar, I can check the other points !

Thanks,
Frédéric THOMAS

[1] 
https://cwiki.apache.org/confluence/download/attachments/57903041/Choose%20Flash%20Build%20Configurations.jpg?version=1&modificationDate=1438538358000&api=v2

> Date: Tue, 25 Aug 2015 08:06:16 -0700
> From: [email protected]
> To: [email protected]
> Subject: RE: Can FlexJS Be Used for Mobile AIR?
> 
> Thanks again Fredric. I followed the updated instructions taking care to
> apply the relevant configurations on the module instead of the project. 
> 
> The module compiled ok but when I tried to run it I would get
> 
> VerifyError: Error #1079: Native methods are not allowed in loaded code.
> 
> Removing frameworks\libs\player\18.0
> from Global Libraries -> FlexJS fixed it and I can now run MobileTrader on
> the AIR simulator.
> 
> I assume there's a more elegant solution to the above error but I couldn't
> find one.
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-users.2333346.n4.nabble.com/Can-FlexJS-Be-Used-for-Mobile-AIR-tp11022p11040.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.

                                          

Reply via email to