I did some research on this last night. Here is what I found:
Android Studio, completely* open source files:
https://android.googlesource.com/platform/manifest/+/refs/heads/mirror-goog-studio-main-without-vendor
Android Studio, with closed source files:
https://android.googlesource.com/platform/manifest/+/refs/heads/mirror-goog-studio-master-dev
The principle difference is in the closed source files version, they add:
<!-- BEGIN closed-source projects -->
<project path="tools/vendor/galvsoft" name="platform/tools/vendor/galvsoft" />
<project path="tools/vendor/google" name="platform/tools/vendor/google" />
<project path="tools/vendor/google3/blaze" name="platform/tools/vendor/google3/blaze" />
<project path="tools/vendor/intel" name="platform/tools/vendor/intel" revision="main" />
<project path="tools/vendor/intellij/cidr" name="platform/tools/vendor/intellij/cidr" />
<project path="tools/vendor/adt_infra_internal" name="platform/tools/adt_infra_internal" groups="adt-infra" />
<project path="prebuilts/studio/buildbenchmarks" name="platform/tools/vendor/google_prebuilt/buildbenchmarks" clone-depth="1" />
<project path="prebuilts/android-emulator" name="platform/prebuilts/android-emulator" clone-depth="1" />
<project path="prebuilts/studio/sdk/remote" name="platform/tools/google_prebuilts/studio/sdk/remote" clone-depth="1" />
<project path="prebuilts/studio/intellij-sdk" name="platform/tools/vendor/google_prebuilts/studio/intellij-sdk" clone-depth="1" />
<project path="prebuilts/studio/sdk/darwin" name="platform/tools/vendor/google_prebuilts/studio/sdk/darwin" clone-depth="1" groups="notdefault,platform-darwin" />
<project path="prebuilts/studio/sdk/linux" name="platform/tools/vendor/google_prebuilts/studio/sdk/linux" clone-depth="1" groups="notdefault,platform-linux" />
<project path="prebuilts/studio/sdk/windows" name="platform/tools/vendor/google_prebuilts/studio/sdk/windows" clone-depth="1" groups="notdefault,platform-windows" />
<!-- END closed-source projects -->
These added closed source files are present in any version of Android studio you can download. So, I agree with @hans , we Android freedom/open source folks would need someone to build these from source and make that available for the average user.
To build it is not easy, in that it requires a lot of downloading and a fairly good computer, as well as some skill, making this difficult for the average user.
It may actually be simpler to provide unencumbered builds of the Android-sdk that can be used with Eclips, rather than to build Android Studio each time. Also, I am not 100% certain that the open source version of Android Studio(AS) will work, and for sure it will lack some of the functions that are in the closed source AS.
Also, I am not sure that if AS was built with the open source variant, if you could still sign and submit it to Google Play, not really a topic for here, but just a side note.
- Earlier I said that the “without vendor” variant is completely open source, but I am also not entirely sure that is true, because it downloads several pre-built binaries from Google. Such as:
<project path="prebuilts/clang/host/darwin-x86" name="platform/prebuilts/clang/host/darwin-x86" clone-depth="1" groups="notdefault,platform-darwin" />
<project path="prebuilts/clang/host/linux-x86" name="platform/prebuilts/clang/host/linux-x86" clone-depth="1" groups="notdefault,platform-linux" />
<project path="prebuilts/clang/host/windows-x86" name="platform/prebuilts/clang/host/windows-x86" clone-depth="1" groups="notdefault,platform-windows" />
<project path="prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8" name="platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8" clone-depth="1" revision="main" groups="notdefault,platform-linux" />
<project path="prebuilts/python/darwin-x86" name="platform/prebuilts/python/darwin-x86" clone-depth="1" />
<project path="prebuilts/python/linux-x86" name="platform/prebuilts/python/linux-x86" clone-depth="1" />
<project path="prebuilts/python/windows-x86" name="platform/prebuilts/python/windows-x86" clone-depth="1" />
<project path="prebuilts/r8" name="platform/prebuilts/r8" clone-depth="1" />
<project path="prebuilts/studio/jdk" name="platform/prebuilts/studio/jdk" clone-depth="1" />
<project path="prebuilts/studio/layoutlib" name="platform/prebuilts/studio/layoutlib" clone-depth="1" />
<project path="prebuilts/tools" name="platform/prebuilts/tools" clone-depth="1" />
One would have to check if these pre-built binaries are in fact open source and built authentically as well, since we already proved that we can’t trust Google.
Author’s note: I am the dumbest person I know, please take this with a grain of salt. ![:smiley: :smiley:](https://forum.f-droid.org/images/emoji/twitter/smiley.png?v=12)