Ane from getting started to mastering---One-click Package ane

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.