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
What is missing or inaccurate about the content on this page?
Hi,
I guess there is a missing documentation regarding the creation of a Android 11+ compatible version of an apk. I would like to create a Android apk file which is correctly signed. This can be done with using the apksigner. So i used this command: npx cap build android --keystorepath keystore.jks --keystorepass keystorepass --keystorealias keystorealias --keystorealiaspass keystorealiaspass --androidreleasetype APK
It will create an apk which can not be installed on Android 11+ because it uses the jarsigner as default instead of the apksigner. Regarding a PR in the capacitor repo here: ionic-team/capacitor#6442@markemer has mentioned in this comment ionic-team/capacitor#6442 (comment) that one has to use --signing-type apksigner in order to create an android 11+ compatible version.
But this is not documented and it would be helpful to clarify this.
The text was updated successfully, but these errors were encountered:
URL
https://capacitorjs.com/docs/cli/commands/build
OR
https://github.com/ionic-team/capacitor-docs/blob/main/docs/cli/commands/build.md
What is missing or inaccurate about the content on this page?
Hi,
I guess there is a missing documentation regarding the creation of a Android 11+ compatible version of an apk. I would like to create a Android apk file which is correctly signed. This can be done with using the apksigner. So i used this command:
npx cap build android --keystorepath keystore.jks --keystorepass keystorepass --keystorealias keystorealias --keystorealiaspass keystorealiaspass --androidreleasetype APK
It will create an apk which can not be installed on Android 11+ because it uses the jarsigner as default instead of the apksigner. Regarding a PR in the capacitor repo here: ionic-team/capacitor#6442 @markemer has mentioned in this comment ionic-team/capacitor#6442 (comment) that one has to use --signing-type apksigner in order to create an android 11+ compatible version.
But this is not documented and it would be helpful to clarify this.
The text was updated successfully, but these errors were encountered: