[Qbs] Signing an Android APK
raphael.cotty at gmail.com
Mon May 11 09:43:33 CEST 2020
Release keystore support is not implemented yet:
Can you explain a bit more 'jks' keystore type?
About the non-repeatable errors, can you set
Qt.android_support.verboseAndroidDeployQt to true and provide the log?
Le lun. 11 mai 2020 à 03:57, Christian Gagneraud <chgans at gmail.com> a
> On Mon, 11 May 2020 at 09:03, Raphael Cotty <raphael.cotty at gmail.com>
> > Hi,
> > If you look at the sdk.qbs file in the Android module then you'll see
> that you can provide a file for the keystore (pattern *.keytstore).
> > If not then qbs uses the default keystore file
> ($HOME/.android/debug.keystore on Linux).
> Hum, looks like non debug signing is not implemented, keystore alias,
> password, ... are hardcoded in sdk/utils.js: prepareAaptPackage().
> As well I had to add a tagger since our keystore has 'jks' file extension.
> The keystore comes with a property file, that contains all the details
> for the signing process, i don't know if it's standard or an in-house
> This could be a Freescale specific system too, our AOSP is based on
> the imx8 one.
> > Qbs also relies on androiddeployqt but only to gather the dependencies.
> The generation of the apk package and the signing is done by qbs rules.
> I have non-repeatable errors in there, but a clean build seems to
> always work, i can generate APK in debug mode with default keystore.
> It crashes, but that's another story.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qbs