Modify the build.gradle file under the project to add under the android{} node
lintOptions {
abortOnError false;
checkReleaseBuilds false;
}
The path of build.gradle in the cordova directory is as follows
platforms/android/app/build.gradle
Executed again cordova build --release android
Packaging Success! ! !