If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Contributor
flashape
Posts: 30
Registered: ‎12-16-2010
My Device: Not Specified
Accepted Solution

VerifyError: Error #1079: Native methods are not allowed in loaded code.

Just putting this here for future reference in case anyone needs it:  if you're switching back and forth between SDK versions by manually swapping out the playbook sdk swcs, make sure to set the qnx-air.swc linkage to "external" or you'll get the "VerifyErrorError #1079Native methods are not allowed in loaded code." error.

Please use plain text.
Developer
ectar
Posts: 107
Registered: ‎11-20-2009
My Device: Tegra 2 Android tablet and Playbook
My Carrier: Rogers

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

I've got that error when tried to drop qnx SWCs into my mobile project under Burrito.

How to set qnx-air.swc to be external?

http://riahut.com
Please use plain text.
Developer
ectar
Posts: 107
Registered: ‎11-20-2009
My Device: Tegra 2 Android tablet and Playbook
My Carrier: Rogers

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

[ Edited ]

Nevermind, fixed the problem by clicking on library settings and setting the library to be external.

 

But linking QNX these libraries messes up my design view for MXML screens

with message like:

 

Design mode could not load qnx-air.swc. It may be incompatible with this SDK, or invalid. (DesignAssetLoader.CompleteTimeout)

 

Any Ideas?

http://riahut.com
Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

hey ectar,

 

its a known issue. the qnx display object classes will not show up in the design mode most likely because the library was compiled against AS3 and not MXML.

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
ectar
Posts: 107
Registered: ‎11-20-2009
My Device: Tegra 2 Android tablet and Playbook
My Carrier: Rogers

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

Well, I dont event asking them to show up, as we know there e is nothing to see there, but still that messing up design view....

http://riahut.com
Please use plain text.
New Member
nojok3
Posts: 1
Registered: ‎03-27-2011
My Device: developer
My Carrier: Sprint

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

Is there any way for me to view my app in design mode? I'm having this same problem and while I can run it through the Flash Player, I cannot make any changes.

Please use plain text.
Developer
ectar
Posts: 107
Registered: ‎11-20-2009
My Device: Tegra 2 Android tablet and Playbook
My Carrier: Rogers

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

Only one way works for me - remove libraries from Flex Build Path for the edit tim? then add them back for compiling, annoying but it only 2 libraries...

http://riahut.com
Please use plain text.
Regular Contributor
SatishK
Posts: 90
Registered: ‎09-04-2009
My Device: Blackberry Z10
My Carrier: Airtel

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

hey i got the same error.

when i am integrate the "qnx.dialog.AlertDialog" api.

plz help me.

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

Is this BB10 or PB? If BB10, you need to include the ANE for device.
Please use plain text.
Regular Contributor
SatishK
Posts: 90
Registered: ‎09-04-2009
My Device: Blackberry Z10
My Carrier: Airtel

Re: VerifyError: Error #1079: Native methods are not allowed in loaded code.

I got the error on Playbook as well as Blackberry 10 OS device.

Please use plain text.