1、cordova build android --release
2、keytool -genkey -v -keystore release-key.keystore -alias dutuwangApp -keyalg RSA -keysize 2048 -validity 10000
3、jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release-key.keystore android-apk/android-release-unsigned.apk dutuwangApp
参考链接:
https://segmentfault.com/a/1190000005177715
http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#signing-an-app