This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: Mar 24, 2014 12:25 PM by Alexander Doroshko  
Ido Ran Newbie 3 posts since
Mar 20, 2014
Currently Being Moderated

Mar 20, 2014 6:24 PM

Error: Duplicate platform iPhone-ARM found for extension

Hi,

I'm evaluating IntelliJ for use with Flex application. Our application uses Air Native Extension (ANE).

We were successful in adding the ANE to our project and both run and debug the application on iPad.

The problem is when we run the application using the emulator we get the following error:

[AIR Debug Launcher]: The content cannot be loaded because there was a problem loading an extension: Error: Duplicate platform iPhone-ARM found for extension com.domain.TheANE

 

The problem is resolved if we remove (or comment) the <extentionID> element in the application descriptor. The problem it is very error-prone to do that.

 

Any idea of how to make both the on-device and emulator work with the same application descriptor?

 

Thank you,

Ido.

Alexander Doroshko JetBrains 1,304 posts since
Jun 9, 2009
Currently Being Moderated
Mar 20, 2014 6:32 PM in response to: Ido Ran
Re: Error: Duplicate platform iPhone-ARM found for extension

Probably dependencies are not confgured properly. I can check it if you attach your the *.iml file and describe folder contents where your SWCs and ANEs are located (screenshots are ok).

Alexander Doroshko JetBrains 1,304 posts since
Jun 9, 2009
Currently Being Moderated
Mar 24, 2014 12:25 PM in response to: Ido Ran
Re: Error: Duplicate platform iPhone-ARM found for extension

IML file is the one where IDE stores module settings. Usually it is located in the module root folder. Please attach it.

 

Note that it is not the best idea to keep library file in the source folder. I'd suggest to move *.ane to the folder like [module root]/lib.

More Like This

  • Retrieving data ...