Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav-rm authored Dec 10, 2024
1 parent bc8e614 commit caee53f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,20 @@ jobs:
rm sdk-tools.zip
export ANDROID_HOME=$HOME/android-sdk
export PATH=$ANDROID_HOME/cmdline-tools/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
# Install the required Android SDK packages, including build-tools and platform
yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_HOME --licenses
$ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_HOME "platform-tools" "build-tools;33.0.2" "platforms;android-33"
$ANDROID_HOME/cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_HOME "build-tools;36.0.0-rc1" # Ensure the specific build tools version
- name: Check that aidl is available
run: |
if ! command -v aidl &> /dev/null; then
echo "Aidl not found, please install it."
exit 1
else
echo "Aidl found."
fi
- name: Build with Buildozer
uses: ArtemSBulgakov/buildozer-action@v1
Expand Down

0 comments on commit caee53f

Please sign in to comment.