Skip to content

Commit

Permalink
Update android_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kqlio67 authored Nov 7, 2024
1 parent 7f95c10 commit 9cbd703
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,20 @@ jobs:
uses: android-actions/setup-android@v2

- name: Accept Android SDK licenses
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
run: |
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses "build-tools;33.0.0"
- name: Install Android SDK Build-Tools
run: $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "build-tools;33.0.0"

- name: Set Build-Tools path
run: echo "ANDROID_BUILD_TOOLS_PATH=$ANDROID_HOME/build-tools/33.0.0" >> $GITHUB_ENV

- name: Build APK
env:
ANDROID_HOME: ${{ env.ANDROID_SDK_ROOT }}
ANDROID_BUILD_TOOLS_PATH: ${{ env.ANDROID_BUILD_TOOLS_PATH }}
run: |
cd projects/android
buildozer android debug
Expand Down

0 comments on commit 9cbd703

Please sign in to comment.