Deprecated SDK Tools replaced with Command line Tools#300
Deprecated SDK Tools replaced with Command line Tools#300lmesz-bitrise merged 10 commits intobitrise-io:masterfrom
Conversation
947a3ef to
ecbdf7c
Compare
| && unzip -q android-sdk-tools.zip -d ${ANDROID_HOME} \ | ||
| && rm android-sdk-tools.zip | ||
| && wget -q https://dl.google.com/android/repository/commandlinetools-linux-6514223_latest.zip -O android-commandline-tools.zip \ | ||
| && mkdir -p ${ANDROID_HOME}/cmdline-tools \ |
There was a problem hiding this comment.
| && mkdir -p ${ANDROID_HOME}/cmdline-tools \ | |
| && mkdir -p ${ANDROID_HOME} \ |
Actually there is no need for this folder, and that way the whole PATH change is unnecessary as well. We should stick to the $ANDROID_HOME/tools/bin structure
There was a problem hiding this comment.
Without cmdline-tools you will get error described here: https://stackoverflow.com/questions/60440509/android-command-line-tools-sdkmanager-always-shows-warning-could-not-create-se
|
@lmesz-bitrise @Szabadember @fehersanyi-bitrise @ghaabor could you paste relevant build log part? |
|
It could be some intermittent hiccup cause: |
|
@lmesz-bitrise @fehersanyi-bitrise is there any update on this? |
|
Sorry, I just restarted your build but looks like the problem is around the change.
|
|
@koral-- Sorry for the late reply. We are OK with this change but the CI is red and you have to update. :) |
|
OK, thanks for the info. I've first tried to keep So taking that all into account I've just removed SDK tools/Command line tools updating to the latest version at the time of building Docker image. |
|
@lmesz-bitrise @fehersanyi-bitrise any update on this? |
|
Thank you for the PR and sorry for the delay |
Pull Request Checklist
Check/accept these:
are not updated, so if the tool requires frequent updates you should handle the installation on-demand (see: Install Any Additional Tool - DevCenter for more information)
system_report.shfor the new tool(s) I addedhttps://developer.android.com/studio/releases/sdk-tools