Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

ANE fails at Extension Context

$
0
0

Since upgrading to Flex SDK 4.10 with AIR 3.8, my ANE no longer seems to function when published with my Android project.

 

I've downloaded and tried publishing the Vibration demo and Lee Brimelow's Notification ANE and, while they all build properly, fail at the same point:

 

When calling something like  context =  ExtensionContext.createExtensionContext("com.example.ane", null) all that is ever returned is null. There are no build errors and I know the ANE itself is working, because I can call other public functions in the Interface from the project. It doesn't matter if I call it on creation of the interface or create a listener for a click even to try creating it. It always returns null.

 

Upon searching, it seems like there are TONS of people having this issue as well, with no resolution. Is there anyone here who has tried to build even the simplest ANE on the latest SDK versions with any success? Is the warning I get on building the APK "The application has been pacakged with a shared runtime." relevant to this issue? Because it's the only thing out of the ordinary that's happening...

 

If I open up my ANE as a zip file, I can explore the java classes and it looks to me that everything is as it should be.


Viewing all articles
Browse latest Browse all 2010

Trending Articles



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