Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: CLI build android with [apksigner] to support v2 signing #6284

Closed
liuwin7 opened this issue Feb 8, 2023 · 1 comment · Fixed by #6442
Closed

feat: CLI build android with [apksigner] to support v2 signing #6284

liuwin7 opened this issue Feb 8, 2023 · 1 comment · Fixed by #6442
Assignees
Labels
platform: android type: feature request A new feature, enhancement, or improvement

Comments

@liuwin7
Copy link
Contributor

liuwin7 commented Feb 8, 2023

Feature Request

Description

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]
@ionitron-bot
Copy link

ionitron-bot bot commented Jul 26, 2023

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jul 26, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
platform: android type: feature request A new feature, enhancement, or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants