Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 90168

Re: Problem Create ANE,ArgumentError: Error #3500: The extension context does not have a method with the name

$
0
0

ayamg0r3ng wrote:

 

Alex Rekish wrote:

 

Your default implementation is just AS3 code without any native code. So you cannot use ExtensionContext in default.swf/default.swc

You already have senigo.extension.android.test AS3 class for Android. You need to create another one for default. It will be different. Don't use ExtensionContext in it, just AS3 code.

Then put it to default folder as usually and package ANE again.


Another words: you can't use Android implementation on Windows. On Windows (if you don't have Windows-x86 implementation) AIR Runtime use default implementation that cannot call any native code (cannot use ExtensionContext), just AS3 code.

Thanks For the answer Alex, So you mean that test.as I created is belonging to android? ok, if that so why when I put build ANE that's just contain Android-ARM, the error still show up? is there I need to put Windows-86 to run it on windows?

If that true, so for Windows-x86 I must use other actionscript that didn't content ExtensionContext? or In test.as actionscript I must tell if the platform is windows-x86 so I not use ExtensionContext? but how can I do that? could you gave me a sample? it will be nice thank's

Thanks Alex, I got it now, I miss the concepts, I thought ANE can run in device emulator on adobe, so it's just can run on the device... LOL... I need to repair first my Android,to check it run it or not, but I think maybe it will solve the problem, I think it will.. Thanks for the answer.. I been find out about 2 weeks LOL. I thought I doing something wrong.. Many Thanks from me to you my friend ^^


Viewing all articles
Browse latest Browse all 90168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>