There is a small difference with GitHub images that can break tools (in my case cargokit). In the GitHub ubuntu image the path to cmdline-tools is always called `.android/sdk/cmdline-tools/latest` because of [how they are installed](https://github.com/actions/runner-images/blob/main/images/ubuntu/scripts/build/install-android-sdk.sh#L68). With the `setup-android` action, `latest` can be the actual short version number (`16.0` at the time of writing). The following workaround helps: ``` cd ~/.android/sdk/cmdline-tools/ LATEST_DIR=$(ls -d [0-9]*.[0-9]* 2>/dev/null | sort -V | tail -n 1) ln -s "$LATEST_DIR" latest ``` It would be nice if the action mimicked the behavior of the GitHub image.
Activity