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
请先登录再写评论。
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?
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?
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.
was definitely a issue with ANE file. I replaced with new download
compiles well now
thanks for your help Alexander