Error when add ANE dependancy

I am trying to compile an existing AIR project with a new ANE lib
In module settings I added the the ANE to the mod via the dependancies tab
after I compile I get the following error

Error:[mRP]: unable to load SWC com.distriqt.Image.ane: {PATH}/ane/com.distriqt.Image.ane is not a SWC file.

I get the same result with both IDEA 12 & 13.1

am I missing something? anyone have advice?

thanks

4 comments
Comment actions Permalink

Flex compiler reports this error if com.distriqt.Image.ane file has invalid ZIP format. Try to open the file with any archive manager, will it show ZIP contents?

0
Comment actions Permalink

no luck

unzip fails, both mac Archive Utility and command line.

command line returns following error

End-of-central-directory signature not found.  Either this file is not

  a zipfile, or it constitutes one disk of a multi-part archive.  In the

  latter case the central directory and zipfile comment will be found on

  the last disk(s) of this archive.

dose this mean there is a problem with the ANE?

0
Comment actions Permalink

does this mean there is a problem with the ANE?

Exactly.
Just out of curiosity look at the file contents in any text editor. May be it has some readable text instead of binary ZIP contents.

0
Comment actions Permalink

was definitely a issue with ANE file. I replaced with new download

compiles well now


thanks for your help Alexander

0

Please sign in to leave a comment.