
If you're using a different flavor of Linux, find the correct packages for ncurses5 and stdc++6 and install them.

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 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. (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. OpenJDK also works for most things you'll need to do with the SDK. You can find x86 and 圆4 binaries for Sun Java from Oracle at their website.

For most things, you'll be doing with the SDK, both Open Java and Sun Java from Oracle (yes, that Oracle) will work. You'll need a working version of Java to run the SDK components. Source: Android Central (Image credit: Source: Android Central)
