-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix][sdk-372] Fix CI - Old Android SDK removed from Ubuntu 20.04 image runner #314
[fix][sdk-372] Fix CI - Old Android SDK removed from Ubuntu 20.04 image runner #314
Conversation
This reverts commit ed0bdf1.
.github/workflows/ci.yml
Outdated
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
with: | ||
cmdline-tools-version: 9477386 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The runner image ships with this version. Do you think we can avoid adding a 3rd party tool for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but they upgraded the build tools and platform version from 27 to 31. Ok, I'm going to download it manually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is an example on how to install the old platform version with the existing SDK manager. You don't need to manually download it, or use 3rd party tools. If you don't install it, the Android Gradle Plugin figures out which version you need based on the project config and downloads it in the background.
Fixed in #317 |
Description of the change
Old android SDK versions where removed from the runners in this PR, more info here.
To fix CI I'm adding the command line tools version 9.0 with this action, and setting the SDK manager to use Java 8 because it is incompatible with Java 11, as it was previously here
Type of change
Related issues
Checklists
Development
Code review