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

The Challenges of Handling Proverbs in Malay-English Machine Translation – a research paper

*This paper was presented in the 14th International Conference on Translation 2013 ( http://ppa14atf.usm.my/ ). 27 – 29 August 2013, Universiti Sains Malaysia, Penang. The PDF version is here: www.scribd.com/doc/163669571/Khirulnizam-The-Challenges-of-Automated-Detection-and-Translation-of-Malay-Proverb The test data is here: http://www.scribd.com/doc/163669588/Test-Data-for-the-Research-Paper-the-Challenges-of-Handling-Proverbs-in-Malay-English-Machine-Translation Khirulnizam Abd Rahman, Faculty of Information Science & Technology, KUIS Abstract: Proverb is a unique feature of Malay language in which a message or advice is not communicated indirectly through metaphoric phrases. However, the use of proverb will cause confusion or misinterpretation if one does not familiar with the phrases since they cannot be translated literally. This paper will discuss the process of automated filtering of Malay proverb in Malay text. The next process is translation. In machine translatio

Online database thru JSON in Android Studio

The tutorial is about how to connect Android apps and online database using the JSON formatted data interchange. The server facilities and JSON encoded data has been explained in the previous tutorials; ( Android and JSON Insert , Android and JSON Search ). The overview concept of JSON data inter change. JSON formatted data sample First we look at our database structure for this project. Part A: The online database The table is training, and this is the structure. There is a PHP script that generate a JSON encoded data from the above table. The PHP script to generate JSON formatted data; <?php //search.php /* * Following code will search training based on keywords */ // array for JSON response $response = array (); // include connect class require_once __DIR__ . '/connect.php' ; // connecting to db $db = new DB_CONNECT(); $keyword = $_GET [ "keyword" ]; // get idioms based on keyword //using LIKE $result =

Submit your blog address here

Create your own blog and send the address by submitting the comment of this article. Make sure to provide your full name, matrix and URL address of your blog. Refer to the picture below. Manual on developing a blog using blogger.com and AdSense, download here … Download Windows Live Writer (a superb offline blog post editor)