Cordova reported an error when typing the signature package https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar

Insert picture description here

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

Insert picture description here

Executed again cordova build --release androidPackaging Success! ! !

Guess you like

Origin blog.csdn.net/ouyangli2011/article/details/107224872