I’m not an Android developer, but I plan to learn this along with the Kotlin language. The Android Studio seems to have proprietary components and therefore marked as non-FOSS on Flathub store. The Android SDK specifically (at least builds provided by Google) is also seems to be licensed under non-FOSS license.
Android Studio is a powerful IDE with rich toolbox for Android development, but it feels like strong lock-in on closed technology even in case we have Android as a FOSS platform in face of AOSP.
I’m just curious to learn, is Android development can be setup to be 100% FOSS? What environment, toolchain, and editors like IntelliJ IDEA CE/VSCodium/Neovim we can possibly use to achieve this?


You could use intelij idea open (you can find it on flathub, it is marked as FOSS) with the android plugin will give you a similar experience to Android Studio. It worked for me well and I think all things were FOSS.
Thanks! It worth exploring