Skip to content

/bin/sh: sdkmanager: command not found #123

Closed
@SDGGiesbrecht

Description

@SDGGiesbrecht

For the last day or two, all actions have been failing with this message:

Installing latest build tools, platform tools, and platform.
/bin/sh -c \sdkmanager --install 'build-tools;30.0.3' platform-tools 'platforms;android-29' > /dev/null
/bin/sh: sdkmanager: command not found
/Users/runner/Library/Android/sdk/platform-tools/adb -s emulator-5554 emu kill
error: could not connect to TCP port 5554: Connection refused

As recently as four days ago, actions were successful, and logs appeared as follows. Note the additional first step.

Installing new cmdline-tools.
/usr/bin/unzip -q /Users/runner/work/_temp/1f68391f-809c-4848-9a14-8eca0e8ed308
Installing latest build tools, platform tools, and platform.
/bin/sh -c \sdkmanager --install 'build-tools;30.0.3' platform-tools 'platforms;android-29' > /dev/null
Installing latest emulator.
/bin/sh -c \sdkmanager --install emulator > /dev/null
[...]

I can see from your repository’s main page that the latest release was 8 days ago. That suggests to me that the change was not in your code, but with the underlying GitHub’s host. Maybe they added a partial installation of the command line tools, which tricks your action into believing it already has everything it needs even though it actually doesn’t?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions