I'm trying to package an ANE to add native resources to it. The process works fine without native resources and platform.xml (so the swc, the .swf and .jar and everything else is set up properly). Just trying to add resources.
Here's the command I'm using:
adt.bat -package -target ane myane.ane extension.xml -swc myswc.swc -platform Android-ARM -platformoptions platform.xml -C Android-ARM .
And I'm getting this:
Missing resource folder res for platform Android-ARM
My platform xml looks like this:
<platform xmlns="http://ns.adobe.com/air/extension/4.0">
<packagedResources>
<packagedResource>
<packageName>my.package.name</packageName>
<folderName>res</folderName>
</packagedResource>
</packagedResources>
</platform>
And my folder structure:
- Android-ARM
- library.swf
- myjar.jar
- res
- layout, etc (android resources)
- platform.xml
- extension.xml
I tried putting the res folder inside Android-ARM but I'm getting the same error.
Is there a sample I can start off of for using native resources with the R.* mechanism? I feel like I'm missing something silly...