Why does SDKManager not discover the "Android Tools" package's SDK installation?

android-tools-35.0.2-13.fc43 installs to $HOME/Android/Sdk, yet python3-sdkmanager-0.6.10-6.fc43 doesn’t see it:

RokeJulianLockhart@Beedell:~$ sdkmanager --list
Downloading https://raw.githubusercontent.com/f-droid/android-sdk-transparency-log/master/signed/checksums.json.asc into /home/RokeJulianLockhart/.cache/sdkmanager/checksums.json.asc
Installed Packages:
  Path                           | Version       | Description | Location
  -------                        | -------       | -------     | -------

Is this expected?

Seems to be lacking docs at github. What does sdkmanager --help tell you?

@barryascott, not much. It merely lists the syntax, and available sub-commands:

RokeJulianLockhart@Beedell:~$ sdkmanager --help
usage: sdkmanager [-h] [--install] [--licenses] [--list] [--uninstall] [--update] [--version] [--channel CHANNEL] [--include_obsolete INCLUDE_OBSOLETE] [--no_https NO_HTTPS] [--proxy PROXY] [--proxy_host PROXY_HOST] [--proxy_port PROXY_PORT] [--sdk_root SDK_ROOT]
                  [--verbose]
                  [packages ...]

positional arguments:
  packages

options:
  -h, --help            show this help message and exit
  --install
  --licenses
  --list
  --uninstall
  --update
  --version
  --channel CHANNEL
  --include_obsolete INCLUDE_OBSOLETE
  --no_https NO_HTTPS
  --proxy PROXY
  --proxy_host PROXY_HOST
  --proxy_port PROXY_PORT
  --sdk_root SDK_ROOT
  --verbose             increase output verbosity

Maybe you can find online the docs for the original sdkmanager?

@barryascott, developer.android.com/tools/sdkmanager [1] doesn’t elaborate (and I should have an idea of whether it’s meant to, before I decide to file anything at gitlab.com/fdroid/sdkmanager/-/issues, requesting support for this.)


  1. issuetracker.google.com/issues/364089356#comment5 ↩︎

If you know python, you could read the code for clues as to where is looks for sdks.
Maybe the tool has a config file?

1 Like