1, contents of CreateDex.bat file:
Aapt package-m-jsrc-madandroidmanifest.xml-sres-ioandroid.jar//This command is mainly used to automatically regenerate R.java files, such as adding a picture or a string or adding a layout directory XML file.
Mkdir D:\testapk\classes // This command is to create a directory and compile * there. Java source file output *. Class, the folder name can be named at will.
javac D:\ testa PK \ src \ aimo xiu \ theme \ moxiu theme \ *。 Java-class path D:\ testa PK \ Android . jar-D D:\ testa PK \ classes \
//This command is to call the javac tool to compile the source code, so you should make sure that the target computer has installed JDK, and the directory where the output is stored is the directory you just created.
cd D:\testapk\classes
Jar cvf aimoxiu.jar *。 *//This command is to let *. The class file is put into a jar package to create the classes.dex file that apk needs in the future.
laser record ..
DX-dex-output = classes.dexd: \ TESTAPK \ Classes \ aimoxiu.jar//This command converts jar package into a dex file that android phones can run.
3. Contents of the 3.CreateApk.bat file:
The aapt package-z-u-x-f-madandroidmanifest.xml-sres-ioandroid.jar-fmoxiu.apk//command generates the application apk file.
Aapt add moxiu.apk classes.dex // This command compresses the previously generated classes.dex file into an apk file, and finally generates a runnable apk application.
Java-jar symbol apk. Jaraimoxiu.x509.pemaimoxiu.pk8moxiu.apkmoxiu _ theme.apk//This command automatically signs the generated apk, and unsigned APK cannot be installed. So an Android application apk was finally released!
Del moxiu.apk /q // Delete the unsigned apk file just generated.
What professors are there in Northeastern University?
The teachers in Northeastern University are all very good. Because it is an int