It's a hassle to do a few steps at a time to compile ane, using one of the following scripts to complete a complex process
REMGood pressure haozipc file location, 7zip,winrar, etc. can beSetZip=d:\ "program Files" \HAOZIP\HAOZIPC.EXEREMthe directory where the project-generated SWC file residesSetSwc_orignal_path=e:\workspace\android\testzone2\out\SWCREMthe name of the SWC fileSetSWC_NAME=T2SWC.SWCREMthe location of the jar fileSetJar_file=e:\workspace\android\testzone2\out\jar\t2.JarREMAnebuildzone LocationSetAne_build_zone=e:\workspace\android\ "ANE BUILD ZONE"REM =================================REM =================================REMstep1-> Extract the SWC to get the corresponding library.swf%zip% e-y%swc_orignal_path%\%swc_name%-o%swc_orignal_path%REMstep2-> Remove the r* related class from the jar file%zip% D-tzip%jar_file%-R.class%zip% d-tzip%jar_file%-R$attr.class%zip% d-tzip%jar_file%-R$drawable.class%zip% d-tzip%jar_file%-R$id.class%zip% d-tzip%jar_file%-R$layout.class%zip% d-tzip%jar_file%-R$string.classPauseREMstep3-> copy SWC to Anebuildzone belowCopy/y%swc_orignal_path%\%swc_name%%ane_build_zone%REMstep4-> Copy the jar file to the Android-arm directoryCopy/y%jar_file%%ane_build_zone%\Android-armREMstep5-> Copy the library.swf to the default and Android-arm directoriesCopy/y%swc_orignal_path%\library.swf%ane_build_zone%\Android-armCopy/y%swc_orignal_path%\library.swf%ane_build_zone%\defaultREMstep6-> call to compile the batch of anePagerBUILD.bat
Before using this batch, set up the basic environment for building ane by following ane from getting started to mastering---simple whatever.
ZIP: Specify the use of the decompression tool, I use a good pressure, the other command line can be
Ane_build_zone:ane the directory where the underlying environment resides
That's the directory.
If there are spaces in the folder you are using, you need to use "" to wrap up
Set Zip=d:\ "program Files" \haozip\haozipc.exe
Ane from getting started to mastering---One-click Package ane