Hi,
I generated an apk file for my project, but when I wanted to put it in “Play Store”. I did not manage to do it, because a problem of signature!
These are the instructions I made:
1) keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias
2) jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks app-unsigned.apk my-alias
3) /Users/mac/Library/Android/sdk/build-tools/28.0.2/zipalign -v 4 app-unsigned.apk app-signed.apk
4) /Users/mac/Library/Android/sdk/build-tools/28.0.2/apksigner verify app-signed.apk
The first 3 commands give a message of success operation, but the last one give this error:
DOES NOT VERIFY
ERROR: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped?
On the other hand, i used Android Studio to generate the app file signed, but i take an other error type :
Error:Android Source Generator: Error: Can’t find bundle for base name messages.AndroidJpsBundle, locale fr_FR
java.util.MissingResourceException:
…
Can you tell me why this problem !! thank you in advance.