I'm new to to Linux, in this particular case, to Ubuntu. I have a small android project I have to finish until this Friday and I'm still stuck with the install and preparing of the development environment. The only thing I did was install the Eclipse IDE. I'm still missing the SDK, JAVA and anything else that might be needed. Can someone help me through this? It's only because I'm running out of time to develop, or else I would embark on a deeper investigation of this OS.
|
Installing the Android SDK to use with Eclipse works the same way on Ubuntu as it does on other Linux-based operating systems. You should follow the instructions in the official documentation. As of the time of this writing, that means you'll download this SDK package, then follow the instructions in Installing the SDK. Install the Android SDK ItselfTo summarize the Android SDK installation instructions, you'll download the SDK, unpack it wherever you want it, and remember where you unpacked it because you'll be providing that information in Eclipse later, when setting up the ADT plugin (see below). If you have no other preference, a good place for the Android SDK is directly in your home directory (not the Downloads folder it may have been saved to, but to the home directory, which contains your downloads folder, your Documents folder, your Desktop folder, and so forth). To extract the Android SDK, put the
Install a JDK If You Don't Have One AlreadyThe installation instructions give you a link to where you can download Oracle's proprietary JDK (Java). If you choose to use the Oracle's proprietary JDK, this answer explains how to install it from the command-line with the packages available on Oracle's website.
The installation instructions explicitly recommend that Ubuntu users see the community documentation on Java and Java installation, if experiencing any problems. Install the ADT Plugin for EclipseAs explained in the installation instructions, you'll install the ADT plugin for Eclipse, which is what lets you use Eclipse to develop Android applications. Install Android Development Packages In EclipseIn Eclipse, you'll pick what Android development packages you want to install. Different packages are required for targeting different versions of the Android operating system for different devices, and for using various additional functionality implemented by some mobile device manufacturers. You can have however many of these packages installed at the same time as you wish (although if you select a lot of them, it may take a while for them to download and install before you can begin developing for Android). The installation instructions explain how to decide what you need. |
|||||||||||
|