Can We Build Release Version of .aab or .apk

Release Version Application and Deployment

  1. We can build a Release Version of the .aab or .apk file of QField with Android Studio or Visual Studio?
  2. How we can create/set new keystore to create Release Version of Application
  3. Seems the QField docker build process only gives the debug version of the QField Application alone
    triplet=arm64-android ./scripts/build.sh

How can we generate/build applications with the build type of release/build? in QField

Once the Build is successful, I can get this Statement alone

BUILD SUCCESSFUL in 5s
33 actionable tasks: 3 executed, 30 up-to-date
Android package built successfully in 43.773 ms.
  **-- File: /usr/src/qfield/build-arm64-android/src/app/android-build//build/outputs/apk/debug/android-build-debug.apk**
CPack: - package: /usr/src/qfield/build-arm64-android/Kcube Field-0.1.1-Android.json generated.

In this Path Debug Build Only Exists

Thanks


Imported from GitHub discussion by @ajithandro on 2024-01-30T05:48:27Z

For reference:

the best reference for this is the current release pipeline

QField/.github/workflows/android.yml at c9ead83938442c30988d6b7d4b2649e70b0d4867 · opengisch/QField · GitHub

any pull request to improve the documentation will be very welcome

See QField Android Build Custom Modification · Issue #4962 · opengisch/QField · GitHub


Imported from GitHub comment by @m-kuhn on 2024-02-04T13:49:18Z