Android is an amazing and fun platform to work on. Anyone can come up with their own unique idea, create a good product and make it available to thousands and thousands of customers. Welcome to a huge world of development and progress in the mobile age.
Android has greatly matured in the last few years. There are over a thousand tutorials out there so you are spoiled for choice. So let’s get this party started.
Google has gone out of it’s way and created more than a guide for you. The Android Developers Handbook . It has almost everything you need to know and very well explained sample programs, so make it your best friend.
Setting Things Up
Before we start with the installation process first verify that your computer meets the basic system requirements.
Step 1: Verify JDK is installed
The first step is to check if you have the JDK (Java development kit) installed. Don’t confuse JDK and JRE. JRE (Java Runtime) is needed for running Java programs. JDK (Java Development Kit), which includes JRE plus the development tools (such as compiler and debugger), is need for writing as well as running Java programs. Since you are supposed to write Java Programs, you should install JDK, which includes JRE.
- Open Command Prompt in Windows or Terminal in Mac and Linux.
- Type “java -version“.
You should see the following:
If for some reason you do not have Java installed, you can download and install it from Oracle.com.
Step 2: Get The SDK
Download the Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android.It includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.
The following resources are in the ADT Bundle:
- Eclipse + ADT plugin. The ADT Enables you to create Android Application in Eclipse.
- Android SDK.
Once downloaded, unpack it and put your Android SDK in a safe spot since you’ll be using it a lot. This is optional but i like to keep my computer organised.
Go to the tools folder and double click the android executable. This will open the Android SDK and AVD manager. The Android SDK Manager allows you to install and delete Android packages. Ensure you have selected the at least the latest API version. It is advisable to build your applications with the latest API as the Build Version. Click install.
This might take sometime depending on your internet speed. So join me and let’s finish some side missions in Assasin’s Creed .
Step 3: Choosing Your IDE
There are a couple of IDE’s out there which you can use to develop your Android Applications. I will mention the most used IDE’s. My Favourite is Intlellij for a 1000 + 1 reasons which i will share with you in another post. I would recommend using the IDE that is in the Android ADT Bundle.
- Android Studio
- IntelliJ IDEA
We are almost there. Don’t give up. We no need to link Eclipse to the SDK.
- Open Eclipse
- Click on Window > Preferences.
- You should see a Window like this
- Click Android, on your left and you should something close to this. You will not see the Android Version but it’s ok.
- Click Browse and Navigate to where you put downloaded your Android ADT Bundle. Open it, You should see two folders. Select sdk and click ok/open.
- Once that is done click apply, then OK.
I hope i did not scare anyone away. I’m assuming you have successfully installed everything. If you have give yourself a pat on the back else slap yourself. I mean it..haha. In the next post will show you how to create your first Android App or you can go ahead and learn.