actions / runner-images

GitHub Actions runner images
MIT License
10.13k stars 3.05k forks source link

Android SDK Build Tools doesn't exists on macOS runners on default #10814

Open mcagabe19 opened 2 weeks ago

mcagabe19 commented 2 weeks ago

Description

title and I use ANDROID_HOME env btw

(sorry if something is wrong, I'm first time making issue to here)

Platforms affected

Runner images affected

Image version and build link

Version: 20241014.193 Link to build: https://github.com/MobilePorting/FPS-Plus-Mobile/actions/runs/11408800443/job/31747750013

Is it regression?

uhhh no ig?

Expected behavior

To Build

Actual behavior

build-tools is missing or misplaced, idk really

Repro steps

  1. Set sdk path to lime
  2. Run a build
  3. Getting build-tools missing
mcagabe19 commented 2 weeks ago

after some digging and using find on $ANDROID_HOME, I can confirm it's really not there and don't get confused with tools folder, it's not really build-tools

sarathrajsrinivasan commented 1 week ago

Hi @mcagabe19 ,

We are looking into it. Will keep you posted.

sarathrajsrinivasan commented 1 week ago

Hi @mcagabe19 ,

We are able to see the Android SDK Build tools in all macOS12, macOS13 and macOS14 images.

We are investigating for macOS15. In the meantime please check your workflow with either macOS13 or macOS14.

    steps: 
    - name: Check Android SDK Build tools
      run: |
        echo "ANDROID_HOME is set to: $ANDROID_HOME"
        echo "Contents of Users/runner/Library/Android/sdk/build-tools/"
        ls -ltr /Users/runner/Library/Android/sdk/build-tools/
mcagabe19 commented 1 week ago

on a test workflow, indeed macOS 12, 13 and 14 does have https://github.com/mcagabe19/v/actions/runs/11476806865

so that means only macOS 15 doesn't have

qwertylolman commented 5 days ago

finally, I found this ticket xD

any workarounds? it's critical for us, and PR is still not approved

mcagabe19 commented 5 days ago

finally, I found this ticket xD

any workarounds? it's critical for us, and PR is still not approved

https://github.com/MobilePorting/FNF-PsychEngine-Mobile/blob/main/.github/workflows/build.yml#L43-L51