Android Application Development using Windows

Home / Android Application Development using Windows

Android Application Development using Windows

December 9, 2015 | Article | No Comments

There are also version of this article for Linux Ubuntu and Linux Slackware64.

Android Operating System is one of popular operating system for mobile device beside Windows mobile, Apple iOS, etc. This article main focus would be concentrated on installation of development tools, which is Eclipse IDE, Android SDK, and Android Developer Tool on Windows 8 64-bit.

Why Eclipse? Eclipse is an open source Integrated Development Environment and has full support for Android. It’s also quite simple.

In the time i write this article, I use Windows 8 64-bit.This article will focus on Windows  8, though you can use this method and apply it to other Windows version. You must also have active internet connection to do installation and fetching required packages.

You can skip some part if you are confident enough that you have done it before. Well, but nothing wrong by read a whole article, right? 😉

Now let’s we go!

Preparation

We need to install JAVA and Eclipse. But running Eclipse need JAVA so we will install JAVA first.

When using 64-bit machine, make sure you have JAVA and Eclipse for same architecture. It means, you cannot have Eclipse 64-bit and using JAVA 32-bit. It goes same for 32-bit Eclipse and 32-bit JAVA.

At this point, I assume you have install JAVA and Eclipse.

Installation

Android Developer Tool Plugin

Now let’s moving to installation of Androit Developer Tool (ADT). It is a special Eclipse plugin contains integrated android environment for building Android application using eclipse.

Start eclipse. Now navigate to:

Help - Install New Software - Add

enter the following information:

Name: ADT Plugin
Location: https://dl-ssl.google.com/android/eclipse/

Click on OK. Now select “Developer Tools” and/or “NDK Plugins”. Click Next to begin installation. Wait for installation to finish its work.

Install the SDK

Next we will install Android SDK. Downlad Android SDK starter pack from this link

Download the latest SDK. By the time I write this article, the latest version is 22.0.5. It is an installer with filename installer_r22.0.5-windows.exe.

Run the installer file and choose a path for installing SDK. In my case I will leave the SDK on C:\Program Files (x86)\Android\android-sdk

Install SDK Platforms

Now we need to install platforms and optional additional plugins or sample codes. Start SDK manager (If you just do install the Android SDK, you will be asked to start the SDK):

C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe

Seleck SDK Platforms you want. I choose Android 2.3.3 API 10 as my smartphone Sony Xperia U use this one. When you have selected all packages you want, click Install Selected. You will be prompted to Accept License. Click Accept All and then Install.

Create Android Virtual Device

Now we have to join Eclipse IDE with Android SDK and create and Android Virtual Device (AVD). Android Virtual Device is an emulator to run your application on top of your computer.

In Eclipse, navigate to:

Window - Preferences - Android

Enter location of your Android SDK installation. In my case it is in C:\Program Files (x86)\Android\android-sdk. Press OK.

Now navigate to:

Window - Android Virtual Device Manager - New

Insert following information into:

AVD Name: AndroidVirtualDevice
Device: <your preferred device>
Target: <chose any desired Android version and API level available>

Click OK. The new Android Virtual Device will be created in the directory:

C:\Users\<your username>\.android\avd

Congratulations! Now you can develop android apps on Windows!

, , ,

About Author

about author

xathrya

A man who is obsessed to low level technology.

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial