Generating an Android App Bundle from your Ionic app (without Android Studio)
Table of Content
Generating an Android App Bundle from your Ionic app (without Android Studio)
gradlew bundle
In the platforms/android
you will run gradlew file with bundle task. The command looks like:
gradlew bundle
That’s it. Our .aab file has been generated and can be found at platforms/android/app/build/outputs/bundle/release
folder.
Lỗi Unable to determine Android SDK directory.
Cách sửa
Tạo file tên local.properties
nằm trong thư mục chứa gradlew bundle
với nội dung như sau
sdk.dir=sdk.dir=/path/sdk example
Ví dụ trường hợp của mình là
sdk.dir=C:/Users/soiqu/AppData/Local/Android/Sdk
Để tìm được đường dẫn đến Android SDK thì mở Android Studio
lên
Kết quả
https://stackoverflow.com/questions/67398608/unable-to-determine-android-sdk