by the way, is Android Studio an open source software?
says:
Like the Android operating system, Android Studio is open source and free of charge to all.
I’m not sure if I get the entire picture, but it’s at least a lead:
https://android.googlesource.com/platform/tools/adt/idea/+/refs/heads/mirror-goog-studio-master-dev/README.md
From what I understand, Android Studio is an extensive open source plugin to IntelliJ’s proprietary IDE. This is why the snap is proprietary licensed.