Skip to main content

Eclipse Helios + Android Development Toolkit (ADT 11)

This is another tutorial to guide you on how to install the development environment for Android on the Eclipse Helios (3.6). Eclipse is the major IDE for Android development. In order for Eclipse to handle Android app development a plugin, Android Development Toolkit is needed to be installed in Eclipse.

Written for the next Mobile SIG meet-up which will be held this coming Friday, 24 June 2011. Initially this is to document the process for my personal record. Hopefully by sharing in this blog, it will benefit many others.

Eclipse Helios + Android Development Toolkit 11

The activity is done on Windows 7, 64bit processor using the latest Eclipse Helios. Surely you need a broadband Internet connection because the Android SDK need to be connected to the server to download the latest Android packages and Google API.

Softwares needed;

  1. Latest JDK from Oracle.
  2. Latest Android SDK.
  3. Eclipse 3.6 (Helios).

STEP1: Download Softwares

Softwares you need to download before doing this experiment;

SW1. latest JDK (if your PC doesn’t have it yet) - http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html

Android IDE: JDK download page

SW2. Android SDK - http://developer.android.com/sdk/eclipse-adt.html

Android IDE: SDK download page

SW3. Eclipse Helios (3.6) - http://www.eclipse.org/downloads/

Android IDE: Eclipse Helios download page

 

STEP2: Installations JDK and Android SDK

  • Install SW1 and SW2 to your PC.
  • SW1 – The latest JDK is straight forward and easy, so I believe it’s not worth detailing in this tutorial.
  • SW2 – Android SDK is time consuming. It requires a smooth broadband line because after the installation you need to download the API package for Android, Google API and if you’d prefer ads in your application, then it’s important to download the AdMob SDK.
  • During the installation, the Android SDK will detect the Java Development Kit in your machine. If you have installed the latest JDK (SW1), it should be no problem.
  • Android IDE: Install Android SDK
  • Provide a folder for the SDK installation, and make sure you remember. This folder is needed again in STEP5.
  • Android IDE: Install Android SDK
  • Before the installation finish, it ask you to start the SDK Manager. Check it and click finish.
  • Android IDE: Install Android SDK 
  • It will fetch API packages related to Android development.
  • Android IDE: Install Android SDK- Download Manager
  • You will be provided the list of all SDK Platforms for all Android versions. I suggest you to be selective, just download your target platform first. If you are to develop an app for Froyo (Android 2.2) just download the API version 8. Later when you have more time, you could comeback and download for the other version.
  • If you do not have any time and data network constraint, then you may download all.
  • Android IDE: Install Android SDK- Download Manager
  • The screen below appears after you have finished downloading the related API.
  • Android IDE: Install Android SDK- Installed packages

 

STEP3: Installing Eclipse

  • The Eclipse comes with zip file, so just unzip it and find the ECLIPSE.EXE file to run it.
  • Android IDE: Running Eclipse
  • Immediately run Eclipse after extracting it.

STEP4: Configuring ADT in Eclipse Helios

  • Run Eclipse by identifying Eclipse folder and double-click eclipse.exe . Refer to the image in STEP3.
  • Provide a folder to store all the projects’ source codes. this is called the WORKSPACE in Eclipse.
  • Android IDE: Running Eclipse
  • Select Window > Preferences... to open the Preferences panel . Click Install/Update > Available Software Sites (on the left panel). Click the Add button (on the right panel) to add a software download site (again Internet connection is needed).
  • Android IDE: Installing ADT11 on Eclipse
  • Another window will appear. Provide ADT11 in the Name (for example), and the Location: https://dl-ssl.google.com/android/eclipse/ (as provided in http://developer.android.com/sdk/eclipse-adt.html).
  • Click OK
    Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
  • In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  • In the next window, you'll see a list of the tools to be downloaded. Click Next.
    Read and accept the license agreements, then click Finish.
  • Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  • When the installation completes, restart Eclipse.

 

STEP5: Link Eclipse with Android SDK.

  • Run Eclipse. In the Windows –> Preferences, click Android.
  • Locate the folder of the ANDROID SDK (from the STEP2).
  • Android IDE: Setting Android SDK folder
  • Click Apply and OK.
  • Your Eclipse is ready to develop Android app.

Experiment done…

The wait is worth it. After almost half day installation and downloading packages, I got this nice graphical interface for the screen layout arrangement. It’s nice although it has been implemented in iPhone SDK for quite sometimes.

Android IDE: App Layout Designer

This is one of bizarre SDK installations available. I’d like to advice Android official Developer central to come out with a simpler solution.

>>Starting a New Android Project – wait for the next tutorial.

If you find it difficult to do these configurations,  I have a completely configured installer just for U guys. Just download eclipse indigo + adt 11 here (800MB). Extract it in C, and you're ready to go.

Tested on Windows 32/64 bit. Set the workspace on c:\adt11-indigo\workspace\ ... Have fun!

download_eclipse_indigo_adt11

Comments

  1. excuse me, i cant see android in the reference on the eclipse i downloaded that you provide.. pls help me

    ReplyDelete
  2. Dear Ummuqazzaz,
    U need to launch Eclipse once u downloaded and extracted the installer. Makesure u extract the installer in C:/ ...

    ReplyDelete
  3. The Android Developemnt Toolkits is available on top of Eclipse...

    ReplyDelete
  4. http://android7indi.blogspot.in/

    see this blog

    ReplyDelete
  5. Android SDK installation failed - Connection reset. If you see this error while downloading the platform SDK, go to Tool->Options. And uncheck the Force https://...

    So many times I 've downloading through secure connection and failed. After unchecking the force https option, the download went well...

    ReplyDelete

Post a Comment

Popular posts from this blog

Several English proverbs and the Malay pair

Or you could download here for the Malay proverbs app – https://play.google.com/store/apps/details?id=net.kerul.peribahasa English proverbs and the Malay pair Corpus Reference: Amir Muslim, 2009. Peribahasa dan ungkapan Inggeris-Melayu. DBP, Kuala Lumpur http://books.google.com.my/books/about/Peribahasa_dan_ungkapan_Inggeris_Melayu.html?id=bgwwQwAACAAJ CTRL+F to search Proverbs in English Definition in English Similar Malay Proverbs Definition in Malay 1 Where there is a country, there are people. A country must have people. Ada air adalah ikan. Ada negeri adalah rakyatnya. 2 Dry bread at home is better than roast meat home's the best hujan emas di negeri orang,hujan batu di negeri sendiri Betapa baik pun tempat orang, baik lagi tempat sendiri. 3 There's no accounting for tastes We can't assume that every people have a same feel Kepala sama hitam hati lain-lain. Dalam kehidupan ini, setiap insan berbeza cara, kesukaan, perangai, tabia

Contact Us at blog.kerul.net

Powered by EMF HTML Contact Form

Login JSON Android using Login Activity

I’ve been trying to release this tutorial quite a while. At last after a long hard effort. Since HttpClient is not supported any more in Android SDK 23, I have to resort to org.json.JSONObject and java.net.HttpURLConnection library to do online database with JSON. The objective of this tutorial is to log-in from a mobile client with the username and password stored in an online database facility. STEP 1: Create a new Android project, this time choose the LoginActivity .

Bootstrap Template for PHP database system - MyCompanyHR

HTML without framework is dull. Doing hard-coded CSS and JS are quite difficult with no promising result on cross platform compatibility. So I decided to explore BootStrap as they said it is the most popular web framework. What is BootStrap? - Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first web sites. (  http://www.w3schools.com/bootstrap/   ) Available here -  http://getbootstrap.com/ Why you need Flat-UI? Seems like a beautiful theme to make my site look professional. Anyway you could get variety of BootStrap theme out there, feel free to select here  http://bootstraphero.com/the-big-badass-list-of-twitter-bootstrap-resources/ Flat-UI is from DesignModo -   http://designmodo.com/flat/ Web Programming MyCompanyHR – PHP & MySQL mini project (with Boostrap HTML framework) Template 1: Template for the Lab Exercise. This is a project sample of a staff record management system. It has the PHP structured co

Pick a file using Intent.ACTION_GET_CONTENT

This tutorial is tested on Honeycomb 3.0 environment. In order to be used it in the lower level of Android API, I believe you could just change the target in the Android project. Screenshots Pick an image file using Intent.ACTION_GET_CONTENT The intention of this project is to choose an image file available in the device storage, and simply display it in an ImageView. The benefit of using Intent.ACTION_GET_CONTENT is you don’t have to develop open dialog box which is not available in the Android library. ACTION_GET_CONTENT with MIME type */* and category CATEGORY_OPENABLE -- Display all pickers for data that can be opened with ContentResolver.openInputStream() , allowing the user to pick one of them and then some data inside of it and returning the resulting URI to the caller. This can be used, for example, image chooser (as shown in this article).