How to create an aab file in apache cordova?
Asked Answered
J

3

6

i have an apache cordova project but i want to build an aab file not apk,please help

In apache cordova ive used this command cordova run android to create an apk but i want an aab file instead

Jarl answered 25/3, 2022 at 16:3 Comment(0)
T
6

You should build your app using

cordova build android --release -- --packageType=bundle
Transmarine answered 25/3, 2022 at 20:3 Comment(0)
P
4
  1. cordova build android --release -- --keystore=ABC.keystore --storePassword=123 --alias=ABC --password=123 --packageType=bundle
  2. cd platforms/android
  3. ./gradlew bundleRelease
  4. Take a look into platforms/android/app/build and you'll find .apk file in apk folder as well as .aab in bundle/release.
Platto answered 29/9, 2022 at 17:40 Comment(0)
J
0

I used android studio to sign my apps and create aab files

Jarl answered 16/3, 2023 at 9:22 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.