You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI command build uses the jarsigner which only supports V1 Signing instead of V2 Signing which is the required on Android 11.
Platform(s)
Android
Preferred Solution
Use the apksigner to sign the app.
Alternatives
None
Additional Context
The apk using the jarsigner will failed when installed on Android 11+.
adb: failed to install xxx/app-release-signed.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.:
No signature found in package of version 2 or newer for package xxx]
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Feature Request
Description
The CLI command
build
uses thejarsigner
which only supportsV1 Signing
instead ofV2 Signing
which is the required on Android 11.Platform(s)
Android
Preferred Solution
Use the
apksigner
to sign the app.Alternatives
None
Additional Context
The apk using the
jarsigner
will failed when installed on Android 11+.The text was updated successfully, but these errors were encountered: