Skip to content

Commit d76f9cc

Browse files
authored
Update android.yml
1 parent 37301ab commit d76f9cc

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/android.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,19 @@ jobs:
1313
- uses: actions/setup-python@v5
1414
with:
1515
python-version: '3.10'
16-
- name: Install dependencies
16+
- name: Install all dependencies
1717
run: |
1818
sudo apt-get update -qq
1919
sudo apt-get install -y git zip unzip openjdk-17-jdk build-essential libssl-dev libffi-dev python3-dev autoconf libtool pkg-config cmake
2020
pip install --upgrade pip
2121
pip install buildozer==1.5.0 cython==0.29.33
22-
- name: Install Android SDK
23-
run: |
2422
mkdir -p $HOME/.buildozer/android/platform/android-sdk/cmdline-tools
2523
cd $HOME/.buildozer/android/platform/android-sdk/cmdline-tools
2624
wget -q https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
2725
unzip -q commandlinetools-linux-11076708_latest.zip
2826
mv cmdline-tools latest
29-
yes | $HOME/.buildozer/android/platform/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses || true
30-
$HOME/.buildozer/android/platform/android-sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-33" "build-tools;33.0.2" "platform-tools"
27+
yes | ./latest/bin/sdkmanager --licenses || true
28+
./latest/bin/sdkmanager "platforms;android-33" "build-tools;33.0.2" "platform-tools"
3129
- name: Build APK
3230
run: |
3331
export ANDROID_SDK_ROOT=$HOME/.buildozer/android/platform/android-sdk

0 commit comments

Comments
 (0)