Comment by maxloh

5 days ago

Yeah. It is [1]. Surprisingly, Android Studio is open source too [2].

[1]: https://android.googlesource.com/platform/sdk/+/refs/heads/m...

[2]: https://android.googlesource.com/platform/tools/base/+/studi...

Oh is it Apache 2? That's what I see looking at a random file [1] but there is no global LICENSE file.

And I didn't expect Android-Studio to be open source!

[1]: https://android.googlesource.com/platform/sdk/+/refs/heads/m...

  • Yeah, they're Apache 2.0. That's how Android and some of its forks handle licensing.

    For example, most repos in LineageOS's GitHub org lack a global LICENSE file. Instead, licensing is specified on a file-by-file basis within the comment headers.

    This does lead to some ambiguity though. You can't put a license header into binary files like PNGs. In those cases, you can only trust that Google won't sue you for using them.