Skip to content

Cannot use mise-android due to yq dependency #33

@tapthaker

Description

@tapthaker

Describe the bug

Cannot use mise-android-sdk becayse yq is not available

Steps to reproduce

Install android-sdk via this plugin in a system that doesn't have yq installed globablly but the tool yq is install via mise

Expected behavior

Run with RUST_BACKTRACE=full to include source snippets.
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
tapanth@tapanth-HJXMX09XKD selenium-grid-macos % ./misew install --verbose
DEBUG ARGS: /Users/tapanth/mtf/bin/mise install --verbose
DEBUG config: ~/uber/iosdevex-macos-fleets/mtf/selenium-grid-macos/.mise.toml
DEBUG $ /Users/tapanth/.local/share/mise/plugins/android-sdk/bin/latest-stable
/Users/tapanth/.local/share/mise/plugins/android-sdk/lib/utils.bash: line 69: yq: command not found
asdf-android-sdk: Failed to parse Android SDK tool metadata
asdf-android-sdk: Could not parse Android SDK tool metadata
DEBUG ToolRequest.is_installed: Failed fetching latest stable version for plugin android-sdk: ~/.local/share/mise/plugins/android-sdk/bin/latest-stable exited with non-zero status: no exit status: command ["/Users/tapanth/.local/share/mise/plugins/android-sdk/bin/latest-stable"] exited with code 3
DEBUG install_some_versions: android-sdk@latest
DEBUG $ /Users/tapanth/.local/share/mise/plugins/android-sdk/bin/latest-stable
/Users/tapanth/.local/share/mise/plugins/android-sdk/lib/utils.bash: line 69: yq: command not found
asdf-android-sdk: Failed to parse Android SDK tool metadata
asdf-android-sdk: Could not parse Android SDK tool metadata
Error:
   0: Failed to install asdf:android-sdk@latest:
         0: Failed fetching latest stable version for plugin android-sdk
         1: ~/.local/share/mise/plugins/android-sdk/bin/latest-stable exited with non-zero status: no exit status
         2: command ["/Users/tapanth/.local/share/mise/plugins/android-sdk/bin/latest-stable"] exited with code 3

      Location:
         src/plugins/script_manager.rs:164

      Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
      Run with RUST_BACKTRACE=full to include source snippets.

Location:
   src/toolset/mod.rs:272

Version:
   2025.11.3 macos-arm64 (2025-11-07)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
tapanth@tapanth-HJXMX09XKD selenium-grid-macos %

See that I have yq installed

mise WARN  Failed to resolve tool version list for android-sdk: [~/uber/iosdevex-macos-fleets/mtf/selenium-grid-macos/.mise.toml] android-sdk@latest: Failed fetching latest stable version for plugin android-sdk: ~/.local/share/mise/plugins/android-sdk/bin/latest-stable exited with non-zero status: no exit status: command ["/Users/tapanth/.local/share/mise/plugins/android-sdk/bin/latest-stable"] exited with code 3
/Users/tapanth/.local/share/mise/installs/yq/4.49.2/yq
tapanth@tapanth-HJXMX09XKD selenium-grid-macos %

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions