1. If the Java environment and Android Studio setup are ok, the project can be built and run.

Debug Android. enableAapt2 = true

Package to android.enableAapt2 = flase

2. Change the version number

VersionCode is larger than the previous version

VersionName Indicates the online version

3. Open the command panel

Type gradlew Assemble //debug and apply package both

Gradlew assembleRelease

Gradlew assembleDebug / / debug packages

Package directory in: project directory \ Android \app\build\outputs\ APK

4. Hardening signatures