

See for brew, python3 and NodeJS on nvm see gist Java 14 Here the SDK is under /usr/local/share/android-sdk because I may switch to a different Catalina user in the future, but it works fine under /Users//Library/Android/sdk as well. You'll need a working version of Java to run the SDK components.Here is a high level overview for what you need to do to get most of an Android environment setup and maintained. On a Mac, it's pretty easy because you'll already have it installed unless you uninstalled it.įor most things, you'll be doing with the SDK, both Open Java and Sun Java from Oracle (yes, that Oracle) will work.If you did, install it again - you should know how to do that if you knew how to uninstall it. On Windows, head to the Oracle website and download the correct version (32- or 64-bit) for your computer.If you can't install Java, maybe you're not yet ready to use the Android SDK.Īgain, if this gives you any trouble, stop what you're doing and learn a bit more about your computer. On a Linux computer, you'll also need to install Java.You can find x86 and 圆4 binaries for Sun Java from Oracle at their website.

OpenJDK also works for most things you'll need to do with the SDK. (OpenJDK is now bundled with Android Studio which includes the SDK as well as a development environment) and you'll find complete instructions to get it installed at the OpenJDK website. If you need more assistance or want to use a package manager to install Sun Java, you'll need to refer to the documentation for your particular distro. If you're using Ubuntu or another Debian variant, install ncurses5 and stdc++6 through your terminal: sudo apt-get install lib32ncurses5 lib32stdc++6 Linux users will also have to make sure they have some 32-bit libraries installed if they are running a 64-bit version of the operating system. If you're using a different flavor of Linux, find the correct packages for ncurses5 and stdc++6 and install them. Installing the toolsĮxtract the file you downloaded above into a folder named Android on the root of your C drive (Windows) or into your Home folder (Mac, Linux).

You might notice a few things are missing if you've ever downloaded the command line tools before as the tools and platform-tools folders are missing. That's OK we're about to get them using the included SDK manager. Open the bin folder in the extracted download and find the SDK manager executable file. It may look like a terminal or shell command, but it will open a GUI as long as you have Java installed correctly. The PATH variable in your computer's operating system tells it where to look when you want to run a command from a terminal or the command line.
