Skip to content

Commit

Permalink
wip update build gradle
Browse files Browse the repository at this point in the history
Couldn't find the Android build tools @ /usr/local/lib/android/sdk/build-tools/29.0.3
  • Loading branch information
rogergcc committed Oct 14, 2024
1 parent 80a985b commit 39c845b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/AndroidBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
# - name: Install Android SDK
# run: |
# echo "y" | sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "platforms;android-34" "build-tools;34.0.0" "platform-tools"
- name: Install Android SDK
run: |
mkdir -p $HOME/Android/Sdk
echo "y" | sdkmanager --sdk_root=$HOME/Android/Sdk --install "platforms;android-34" "build-tools;34.0.0" "platform-tools"
env:
ANDROID_SDK_ROOT: $HOME/Android/Sdk
PATH: $HOME/Android/Sdk/tools/bin:$HOME/Android/Sdk/platform-tools:$PATH

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down

0 comments on commit 39c845b

Please sign in to comment.