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

Redistributing Android SDK might break their Terms #167

Open
snoweuph opened this issue Feb 14, 2025 · 1 comment
Open

Redistributing Android SDK might break their Terms #167

snoweuph opened this issue Feb 14, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@snoweuph
Copy link

snoweuph commented Feb 14, 2025

RUN yes | sdkmanager --licenses \
    && sdkmanager "platform-tools" "build-tools;33.0.2" "platforms;android-33" "cmdline-tools;latest" "cmake;3.22.1" "ndk;25.2.9519653"

This might be against the Android SDKs Terms
https://developer.android.com/studio/terms

Some Lines Important to this:
Image
Image
Image
Image
Image

Though the most concerning one is this one:
Image

3.4 states:

You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.

The Important Sentences are:

Except to the extent required by applicable third party licenses

and

you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK

As far as I understand, the Exception specified in it does not apply to this project and having the SDK downloaded into the Docker images, which are redistributed, is against their License Terms.

I wanted to put the Android SDK into some of my Dockerimages and noticed these parts in the Terms.

Would be cool to have somebody find a part in the Terms that actually allow redistributing it though :D
(I never thought the Terms were that restrictive before)

@Calinou Calinou added the bug Something isn't working label Mar 10, 2025
@Calinou
Copy link
Collaborator

Calinou commented Mar 10, 2025

This likely requires moving the Android SDK installation to the GitHub Actions export workflow that users use, so that the container image doesn't include the Android SDK. In short, we need to switch over to a "downloader" workflow, which will be less optimal and probably take more time to export (unless you never export to Android).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants