Skip to content

Commit

Permalink
build apk instead of aab (app bundle)
Browse files Browse the repository at this point in the history
  • Loading branch information
Totto16 committed Jan 2, 2024
1 parent 4f51fa1 commit fcbcd9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
- name: Build APK
run: |
cd platforms/android/
./gradlew bundleDebug --no-daemon
./gradlew assembleDebug --no-daemon
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: oopetris.aab
path: platforms/android/app/build/outputs/bundle/debug/app-debug.aab
path: platforms/android/app/build/outputs/apk/debug/app-debug.apk
2 changes: 1 addition & 1 deletion platforms/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (buildAsApplication) {
}

android {
compileSdkVersion 34
compileSdk 34
ndkVersion "26.1.10909125"
defaultConfig {
if (buildAsApplication) {
Expand Down
3 changes: 3 additions & 0 deletions platforms/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,6 @@ for IDX in "${!DESC_ARRAY[@]}"; do
cp -r "./assets/icon/icon_$RES.png" "${DESC_DIR}/ic_launcher.png"

done


# TODO: build seperate apks for all 4 architectures!

0 comments on commit fcbcd9d

Please sign in to comment.