Follow the process method.
Clicking build is the packaging process:
1. Generate the R.java file through appt.exe
2. Use aidl.exe to convert .aidl The file is converted into a JavaInterface file, which is actually converted into a .java file
3. Compile through the Javac.exe tool to generate a .class file
4. Unzip the third-party library jar file. After decompression, it is a .class file
5. Use the dx.bat tool to generate the classes.dex bytecode file from the above .class file
6. Compile it through the aapt.exe tool res resource gets resource.ap_
7. Generate unsigned apk
8. Sign the apk through jarsigner.exe tool
9. Through zipalign tool Perform alignment optimization operations on apk.