I have created the keystore using
keytool -genkey -v -keystore xx_yy_zz.keystore -alias xx_yy_zz_alias_name -keyalg RSA -keysize 2048 -validity 10000
Uploaded to Phonegap and generated a APK file
The signed the APK using the below command
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore xx_yy_zz.keystore xx_yy_zz.78.apk xx_yy_zz_alias_name
But when I verify the APK it throws the below error
jarsigner -verify xx_yy_zz.78.apk
Error:
jarsigner: java.lang.SecurityException: invalid SHA-256 signature file digest for res/layout/notification_action.xml