The SDK manager does not detect if a package is already installed, and so it'll always re-install it, which can take quite some time
The default docker file system (aufs) does not support a file operation required by the Android SDK manager when it creates a backup of the already installed version/directory, and so, in a standard Docker environment it'll always fail. Even worse, it'll fail silently (no proper exit code) and it's really hard to debug, but it'll make the package unaccessible after the re-install attempt.
As discussed at: https://github.com/bitrise-io/bitrise-steplib/pull/169
There are two main reasons to do this check:
docker
file system (aufs
) does not support a file operation required by the Android SDK manager when it creates a backup of the already installed version/directory, and so, in a standard Docker environment it'll always fail. Even worse, it'll fail silently (no proper exit code) and it's really hard to debug, but it'll make the package unaccessible after the re-install attempt.