Skip to content
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

Conversation

christianbuon
Copy link
Contributor

@christianbuon christianbuon commented Jul 27, 2024

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
Captura de pantalla 2024-08-03 a la(s) 11 49 27 p  m

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

Related issues

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers assigned
  • Issue from task tracker has a link to this pull request
  • Changes have been reviewed by at least one other engineer

@christianbuon christianbuon self-assigned this Aug 4, 2024
@christianbuon christianbuon changed the title [fix][sdk-105] Fix CI [fix][sdk-105] Fix CI - Old Android SDK removed from Ubuntu 20.04 image runner Aug 4, 2024
@christianbuon christianbuon changed the title [fix][sdk-105] Fix CI - Old Android SDK removed from Ubuntu 20.04 image runner [fix][sdk-372] Fix CI - Old Android SDK removed from Ubuntu 20.04 image runner Aug 4, 2024
- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 9477386
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

@csaba-ilonka-rollbar csaba-ilonka-rollbar Aug 12, 2024

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.

@christianbuon
Copy link
Contributor Author

christianbuon commented Aug 16, 2024

Fixed in #317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants