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?

all 8 comments

sorted by: hot top controversial new old
[–] 16 points 1 week ago (2 children)

I have made flutter apps without Android Studio. You basically needed to download the SDK which is FOSS, and then tell your IDE where it is. This process may be a little tedious. Android Studio makes everything easy, like automatically downloading the SDK, setting up emulators etc. I jsed VSCodium back then.

  • source
  • hideshow 2 child comments
  • [–] 6 points 1 week ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 2 points 1 week ago*

    I've also just started learning Android dev, avoiding Android Studio. So far I've followed this blog and have a Java "Hello World" app building out of a makefile (without even Gradle!), but using the Google SDK and build tools.

    I believe the build tools are FOSS, but I didn't know that about the SDK; just searching now Replicant has some links to FOSS SDK-related things but that page hasn't been updated in 2 years and nothing seems very easy. Would be interested to hear if you manage to get a FOSS version working.

  • source
  • [–] 2 points 1 week ago

    I build a Tauri app without Android Studio, with 'cargo tauri android build'. you still need the android SDK.

  • source
  • [–] 1 point 1 week ago

    I tried with neovim plus SDK, had to give up due to lack of decent LSPs I think, they were all old, unmaintained. Android Studio really sucks all the oxygen out of the room.

  • source