I. Introduction
Continuing from the previous " The whole process of calling methods in java code in uni-app ", the aar packaged by java code is packaged in debug mode. This time, the aar process packaged into release is recorded.
2. Records of packing process
The execution environment is android studio under Windows environment
android studio open project
Find Build-Make Project and execute
Find the Terminal window and execute the statement: ./gradlew assembleRelease
The packaging is successful, and the console displays BUILD SUCCESSFUL
After the packaging is complete, you can find the packaged release aar file under the build-outputs-aar folder of the corresponding module