"Requested extension could not be found" - using ANEs in FlashDevelop

I originally posted a thread under the ODK category, but in hindsight, I think it's more relevant in General Development. The other thread (here) can be ignored/deleted.

Basically, I'm having a lot of trouble getting Gaslight Games' OUYAControllerANE working in my game, and I think the issue is with FlashDevelop and my setup. Here's a summary of my struggles:

  • I followed all the instructions on this page: https://plus.google.com/u/0/109524935899218597554/posts/7rhFEX7S372 but it doesn't work and the project doesn't build; it fails with the error message "Requested extension com.gaslightgames.OUYAControllerANE could not be found".
  • Here's my extensions tag from application.xml:
    <extensions>
         <extensionID>com.gaslightgames.OUYAControllerANE</extensionID>
     </extensions>

    I've also tried com.gaslightgames.nativeExtensions.OUYAControllerANE and com.gaslightgames.OUYAControllerANE.ane; same result. 

  • I've tried creating a new AIR Mobile project but the results are the same. Furthermore, I've tried other ANEs such as the Vibrator ANE (http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html) but this gave the same result, so I think I've missed something fundamental.
  • I'm using the Flex and AIR installations that came with FlashDevelop. Is this correct, is there something else I need to setup? I have used FlashDevelop in its current state for Flash player development just fine until now.

If someone can point me to a detailed explanation of how to use the OUYA Controller ANE with FlashDevelop, or perhaps a demo project, that would be incredibly helpful. Alternatively, if someone has encountered a similar issue, details of their solution would be fantastic.

I have tried using GameInput in Adobe AIR and this worked; I want to use the OUYA Controller ANE because I've heard it is better than GameInput and I'd find the experience of ANEs helpful for future development.

Thanks,
Ruairi

Comments

  • RuairiRuairi Posts: 4Member
    I've resolved the issue. I followed the instructions in this video, which was incredibly descriptive and it seems to be working now; OUYAControllerANE.isSupported is returning true on console.
Sign In or Register to comment.