Development setup on LINUX


#1

Gentleman, I’m about to start my new development machine based on LINUX. All the installation was fine but then I have realized the new Android SDK doesn’t have an UI and everything is to be installed via sdkmanager (CLI). After a while I ended up with having build-tools v.foo, platforms v.bar, tools v.baz (version mismatch).
Would anybody be so kind and sum up a small CLI oriented walk-trough installation for a basic development for Android 4.4 - 6.x? (UNIX paths are not an issue, everything starts smoothly).
Looking (desperately) forward for your kind help.
Alex


#2

I can’t really help here, but did you think about going with a GUI here, like Android Studio?


#3

The old Android executable was a GUI app allowing point&click files and libraries you needed for build. You were able to somehow guess & anticipate what to install. The new sdkmanager (after Android SDK Tools 25.3.1) is just a CLI so you have to know what to install in advance.


#4

@Sujan12 is correct. The usual Android SdkManager GUI has been deprecated and is only accessible via Android Studio.

Here’s a link on how to properly install Android Studio in Ubuntu and Fedora based Linux distros: https://developer.android.com/studio/install.html

I use Linux MiNT and had to install Android Studio… but once in there, all is good. :slight_smile:

Hope that helps.


#5

Well thank you @BradBurns, but this is the obvious bloated 32Gig installation I wanted to avoid :wink:
Its not about you Brad (your solution at least works), I’m just bit puzzled why the only answer on (I believe simple question) is a bunch of hush’s and 2y/o videos with a common advice: “Keep installing more and more libraries up until the build process passes”. I was bit hopping that CLI/sdkmanager would allow me to be more organized.


#6

It probably does - but you have to ask the Google Android people how exactly this works.

They tend to be… an interesting bunch. Just in the last few (minor) SDK releases they moved so much stuff around that the Cordova Android implementation totally broke and had to be hotfixed. So I think most of us are fighting with Android from time to time and are just happy when it finally works. Android Studio tends to be the “easiest” way for that.