17
submitted 5 months ago by cherrycode@lemmy.ml to c/linux@lemmy.ml

I want to start learning android dev and I understand that I'll need the android sdk and cli tools. I want to try it in a kvm because even though it is open source, I would like to keep it separate from my main system. Which distro and vm settings do you suggest I use? Any other tips or your experience with android development on linux would be helpful as well.

top 13 comments
sorted by: hot top controversial new old
[-] atzanteol@sh.itjust.works 41 points 5 months ago* (last edited 5 months ago)

Okay this "which distro should I use" shit is just getting out of control.

Which one is best for Android development? Are you kidding me? Just pick any one you like.

[-] CameronDev@programming.dev 25 points 5 months ago

I'm looking for a distro with good cd support, what should I use?

[-] atzanteol@sh.itjust.works 18 points 5 months ago

"I'm switching from Windows and want a good distro I can watch Mr. Beast videos on."

[-] PlexSheep@infosec.pub 9 points 5 months ago

One that ships with bash, zsh, sh and/or fish

[-] CameronDev@programming.dev 11 points 5 months ago

Woah woah woah, slow down. I just want cd, I dont think I need to bash any fishes.

[-] KrapKake@lemmy.world 7 points 5 months ago* (last edited 5 months ago)

You could use the android studio flatpak, install flatseal to ensure the app doesn't have permissions you don't want.

[-] ricdeh@lemmy.world 5 points 5 months ago

Debian-based distros are usually the ones with the most official support and documentation with regard to Android.

[-] mesamunefire@lemmy.world 2 points 5 months ago

Anything that can run android studio basically. And Debian can.

[-] eugenia@lemmy.ml 4 points 5 months ago

Debian is the best for your needs, because that's what Google uses internally too (they used to use ubuntu, but a few years ago they moved to a slightly modified version of Debian-Testing). All its engineers are using Debian-Testing at their desktops, so it's the best tested and tried distro for Android. Although all other distros are also expected to work fine.

[-] 0x0@programming.dev 3 points 5 months ago

Run. Run now.

[-] aluminium@lemmy.world 2 points 5 months ago

I used garuda for a while when doing Android stuff and was really surprised that a lot of things like adb, fastboot and all the filetransfer stuff was working out of the box without even having to setup any android sdk, drivers, … . Not really a distrohopper however, so I can’t tell you if this is a common feature on other distros.

[-] 8263ksbr@lemmy.ml 1 points 5 months ago

Had no problem with Linux mint 21.x.

[-] boredsquirrel@slrpnk.net 1 points 5 months ago

Second the Flatpak, but stuff like installing APKs over USB might not work. Dont know if that is really needed.

You can make adb work on Fedora, I documented 2 ways (with or without installing RPMs) here

this post was submitted on 04 Jun 2024
17 points (77.4% liked)

Linux

48210 readers
706 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS