I’m not sure what Android studio is trying to tell me here. This process used to work with my old ionic3 project (now on ionic5).
Key is valid, used to work… Do I need another certificate? I don’t think so…
~/Android/Sdk/build-tools/30.0.2/apksigner sign --ks ./Setup/myStoreKey.jks ./android/app/build/outputs/apk/debug/app-debug.apk
~/Android/Sdk/build-tools/30.0.2/zipalign -v 4 ./android/app/build/outputs/apk/debug/app-debug.apk ./myapp.apk
~/Android/Sdk/build-tools/30.0.2/apksigner verify ./myapp.apk
DOES NOT VERIFY
ERROR: JAR signer MYAPP.RSA: JAR signature META-INF/MYAPP.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped?
ERROR: JAR signer MYAPP.RSA: JAR signature META-INF/MYAPP.SF indicates the APK is signed using APK Signature Scheme v3 but no such signature was found. Signature stripped?