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

Use setup-android to make sdkmanager available. #975

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

DanAlbert
Copy link
Member

From the action's docs I don't think sdkmanager is actually unavailable, just obnoxious to find (seems the SDK moved that component to cmdline-tools/$VERSION/bin, and I've got no idea how to guess the version).

We could make broader use of this by moving the guts of setup_env.sh into build.yml, but to do that we'd have to remove the auto-detection of which NDK versions we need (though that's a bug anyway, AGP's supposed to be installing those for us). For now, just unbreak CI and we can deal with that later if it's ever worth doing.

From the action's docs I don't think sdkmanager is actually unavailable,
just obnoxious to find (seems the SDK moved that component to
`cmdline-tools/$VERSION/bin`, and I've got no idea how to guess the
version).

We could make broader use of this by moving the guts of `setup_env.sh`
into build.yml, but to do that we'd have to remove the auto-detection of
which NDK versions we need (though that's a bug anyway, AGP's supposed
to be installing those for us). For now, just unbreak CI and we can deal
with that later if it's ever worth doing.

Using setup-android also requires that we update to a newer version of
Java in setup-java.
@DanAlbert DanAlbert merged commit 9c55da6 into android:main Jan 10, 2024
2 checks passed
@DanAlbert DanAlbert deleted the fix-ci branch January 10, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants