Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Build for multi arch APK/App Bundles - QtC 5.14.1 - Qt 5.15
Forum Updated to NodeBB v4.3 + New Features

Build for multi arch APK/App Bundles - QtC 5.14.1 - Qt 5.15

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 319 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ekkescornerE Offline
    ekkescornerE Offline
    ekkescorner
    Qt Champions 2016
    wrote on last edited by
    #1

    Just in my process to move all my projects from 5.13.2 to 5.15 (will blog about)
    For some projects (per ex. needed by QtWorldSummit App) I need signed Release builds:

    APK 32-bit (armeabi-v7a)
    APK 64-bit (arm64-v8a)
    App Bundles (32 and 64-bit) for Play Store
    

    and Debug builds:

    APK 32-bit to test on old devices
    APK 64-bit
    

    Building APKs I can see if it's signed or not from the name, am I right that the .aab always only is named android-build-release.aab ?

    To build a single APK I uncheck 'Build App Bundle' and check only one of the ABIs.
    To build the Bundles I check 'Build App Bundle' and check from ABIs: armeabi-v7a, arm64-v8a.

    This generates 'android-build-release.aab' and also ONE APK. Which arch is inside the APK - release folder besides the bundles ?
    Would be great to get both APKs at once together with the App Bundles. (will open Bugreport)

    To get all release builds done. at the moment I'm doing 3 release builds:

    • bundles
    • armeabi-v7a - APK
    • arm64-v8a - APK

    Is my way to build all these variants correct or is there an easier way ?

    ekke ... Qt Champion 2016 | 2024 ... mobile business apps
    5.15 --> 6.9 https://t1p.de/ekkeChecklist
    QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

    1 Reply Last reply
    0
    • ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by
      #2

      Building APKs I can see if it's signed or not from the name, am I right that the .aab always only is named 'android-build-release.aab' ?

      finally found out, that the .aab from QtC is always unsigned.

      added a custom process step to run jarsigner and .aab now is signed

      will create a feture request to get this done by QtC similar to APK- signing.

      To build the Bundles I check 'Build App Bundle' and check from ABIs: armeabi-v7a, arm64-v8a.

      This generates 'android-build-release.aab' and also ONE APK.

      have seen that this APK contains both arch

      thx @JeromeGodbout helping me with this - see my blog soon

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
      5.15 --> 6.9 https://t1p.de/ekkeChecklist
      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved