How to: Set up development tools for Android on PC

If you want to create your own apps for Android you can install a number of applications on your PC and you can code and run apps on your PC. Here is a quick guide to setting up the required tools needed to become an android app developer.  You will need tools for simulating android devices () and software for coding your apps.

 

Installing software for emulating Android Virtual Devices (AVD)

 

  1. First you need to have a the Java SE Development Kit installed. The Android SDK will inform you about this if you don’t have it. But you need it before next step, so here is a link to the Java SE Development Kit I clicked “Java SE 7u2”, and downloaded the version for windows. After you have downloaded it run the installer. I may take up to 5-10 minutes to install.
  2. The Android SDK
    There are a number of versions here. I went for this one:
    http://dl.google.com/android/installer_r16-windows.exe Which at the time of writing (2012-02-11) was the current installer for Windows.
    After installation you will see a list of packages you should/may download. Here is what it looked like for me:
    Android SDK manager
    You may want to install older versions of Android. I ended up installing 35 packages. I had to go through “Install xx packages” though. I guess that some of the packages must be installed in a specifik order. Also I learned that when you need to accept some terms, you should  click “Accept all” button.
  3. Creating Android Virtual Devices (AVDs). Below I have created an Android 4 based AVD with 100 Mb Ram and a screen resoloution of 800 × 480 (WVGA800), I named it “Android4”.
  4. An AVD called Android4
  5. When you hace created a AVD you are ready to launce the Virtual Android device! You simply click in the Android Virtual Device manager you simply select your AVD and press “Start…”. button. Voila, in a few moments you will see a virtual Android device on your screen!
    A running virtual Android device - in this case an Android 4 based device

Software needed to develop your own apps

Now you have software up so that you can create (AVDs), and the next step may be to set up a development environment so that you can create your own apps Smiley. There ofcause exists more than one soloution, here I will focus on a IDE based soloution.

 

  1. Get the Eclipse development package. Visit http://www.eclipse.org/downloads/ and select Eclipse Classic 3.7.1
  2. Adding the Android Development Tool (ADT) plugin to Eclipse by following the guide found here: http://developer.android.com/sdk/eclipse-adt.html#downloading
  3. After the ADT has been installed Eclipse will restart and you will be prompted to setting up the ADT. I choose to check also the “Install Android 2.1” as it supports 97% of all Android devices (at the time of writing). Also a Android SDK was downloaded.

Running apps in Eclipse

A very good webpage describes this: http://developer.android.com/guide/developing/building/building-eclipse.html

 

Links

US

One thought on “How to: Set up development tools for Android on PC

  1. Its natural environment varies, from jungles too volcanic
    mountains, lakes, savanna landscapes, rivers and fascinating expanse of forest area.
    Shortly after Hinata moved in with Yoruichi, Naruto decided to goo and
    visit her to make sure that everything was all right. Before introdducing the missionaries in Things Fall Apart, Acyebe includes many examples of
    how the Ibo society is rich in culture, with a cmplex belief system
    ass well as important traditions.

    my web blog :: clash of clans csalಯk

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>