How to install Android Eclipse Plugin and start coding immediately (Android Virtual Device Definition- Android SDK)

Hi, in this short tutorial, we are going to install Android Development Plugin (which is called ADT (Android Development Tools)) on Eclipse briefly.

First of all, to do that please download Eclipse from the following location;


2. When you start Eclipse choose


Copy and paste Work With location

and press add like this;


Click Next for downloading and accept license agreement. After the installation, you need to restart your eclipse in order to start programming Android apps.

3. You need to define the location of Android SDK Tools inside eclipse to start coding, for that reason, you need to download Software Development Kit including the main functionalities, libraries of Android, for doing that go to
under use existing IDE menu choose download the sdk tools for windows

4. After the download, click on the exe file choose a sdk installation location (we will use this location later inside eclipse)


Click next and on SDK Manager click install all (in my case 11 packages)

Please note SDK Path will be used inside Eclipse so it is better to note somewhere for me it is under C:\Users\tunato\AppData\Local\Android\android-sdk


This will take some time so be patient. Press close after all downloads are completed.

5. Before coding Android apps using Eclipse, you need to set the location of Android SDK on Eclipse for that;


inside SDK Location choose your sdk installation directory for me C:\Users\tunato\AppData\Local\Android\android-sdk

press apply and ok and now you are ready to code Android


6. For testing the android SDK installation, we will now  define a AVD which is called as Android Virtual Device and this device will use Android API

Click on Window > Android Virtual Device Manager or Android DM button on the left


Select the following values by setting AVD Name, Device, Target and CPU click ok and this will create our virtual Android Device and we will use this device for testing our apps


To test our configuration including SDK installation and AVD definition click on

File>New>Other and choose Android Sample Project
Select HellowEffects sample android project from list;


Click on Finish;

Right click on HelloEffects sample app


Click on Run as Android Application and this will open Android Virtual Device, (if it fails try to decrease AVD ram values by decreasing RAM values)

You have to be patient while the initialization of AVD. This will take some time for the first time,

On Android Virtual Device app menu  click on FX HelloEffects 


And after clicking you will see a screen like that so the application works!!


Emulator Console log will be similar to this one;

[2013-08-30 11:12:55 – SDK Manager] Updated AVD ‘AVDTEST’ based on Android 4.3, Intel Atom (x86) processor,
[2013-08-30 11:12:55 – SDK Manager] with the following hardware config:
[2013-08-30 11:12:55 – SDK Manager] hw.sdCard=no
[2013-08-30 11:12:55 – SDK Manager] hw.device.manufacturer=Google
[2013-08-30 11:12:55 – SDK Manager] hw.mainKeys=no
[2013-08-30 11:12:55 – SDK Manager] hw.lcd.density=320
[2013-08-30 11:12:55 – SDK Manager] hw.accelerometer=yes
[2013-08-30 11:12:55 – SDK Manager] hw.dPad=no
[2013-08-30 11:12:55 – SDK Manager] hw.device.hash=298918422
[2013-08-30 11:12:55 – SDK Manager] hw.trackBall=no
[2013-08-30 11:12:55 – SDK Manager] 4
[2013-08-30 11:12:55 – SDK Manager]
[2013-08-30 11:12:55 – SDK Manager] hw.sensors.proximity=yes
[2013-08-30 11:12:55 – SDK Manager] hw.battery=yes
[2013-08-30 11:12:55 – SDK Manager] disk.dataPartition.size=200M
[2013-08-30 11:12:55 – SDK Manager] hw.gpu.enabled=yes
[2013-08-30 11:12:55 – SDK Manager] hw.audioInput=yes
[2013-08-30 11:12:55 – SDK Manager] hw.sensors.orientation=yes
[2013-08-30 11:12:55 – SDK Manager]
[2013-08-30 11:12:55 – SDK Manager] hw.gps=yes
[2013-08-30 11:12:55 – SDK Manager] skin.dynamic=yes
[2013-08-30 11:12:55 – SDK Manager] hw.keyboard=yes
[2013-08-30 11:12:55 – SDK Manager] vm.heapSize=64
[2013-08-30 11:12:55 – SDK Manager] hw.ramSize=768
[2013-08-30 11:13:49 – HelloEffects] ——————————
[2013-08-30 11:13:49 – HelloEffects] Android Launch!
[2013-08-30 11:13:49 – HelloEffects] adb is running normally.
[2013-08-30 11:13:49 – HelloEffects] Performing activity launch
[2013-08-30 11:13:49 – HelloEffects] Automatic Target Mode: launching new emulator with compatible AVD ‘AVDTEST’
[2013-08-30 11:13:49 – HelloEffects] Launching a new emulator with Virtual Device ‘AVDTEST’
[2013-08-30 11:13:51 – Emulator] emulator: Failed to open the HAX device!
[2013-08-30 11:13:51 – Emulator] HAX is not working and emulator runs in emulation mode
[2013-08-30 11:13:51 – Emulator]
[2013-08-30 11:13:51 – Emulator] emulator: Open HAX device failed
[2013-08-30 11:13:51 – Emulator]
[2013-08-30 11:13:51 – Emulator] emulator: warning: opening audio input failed
[2013-08-30 11:13:51 – Emulator]
[2013-08-30 11:13:51 – Emulator] creating window 0 0 513 854
[2013-08-30 11:13:51 – HelloEffects] New emulator found: emulator-5554
[2013-08-30 11:13:51 – HelloEffects] Waiting for HOME (‘android.process.acore’) to be launched…
[2013-08-30 11:14:41 – HelloEffects] HOME is up on device ’emulator-5554′
[2013-08-30 11:14:41 – HelloEffects] Uploading HelloEffects.apk onto device ’emulator-5554′
[2013-08-30 11:14:42 – HelloEffects] Installing HelloEffects.apk…
[2013-08-30 11:15:13 – HelloEffects] Success!
[2013-08-30 11:15:13 – HelloEffects] Starting activity on device emulator-5554
[2013-08-30 11:19:04 – Emulator] Error accepting connection, aborting

So you can continue from now to develop your custom apps with this configuration!!



Failed to load JNI shared library “Program Files (x86)\Java\jdk1.6.0_20\jre\bin\client\jvm.dll”

If you get the following exception while trying to open Eclipse on Windows 7 version;

Failed to load JNI shared library “Program Files (x86)\Java\jdk1.6.0_20\jre\bin\client\jvm.dll”

You need to download the correct (Bit Architecture) version of Eclipse program.

Your jdk  architecture (32 or 64) of the Java and the Eclipse architecture should be the same.

If you are using the 32 Bit Architecture of Java, you have to Download 32 bit Eclipse version or if you are using 64 bit version of Java you have to download the 64 bit version of Eclispe program.

How to configure the hot deployment (publishing) for Apache Tomcat on Eclipse IDE

If you want to change the default deployment of Eclipse Apache Tomcat configuration;

Just follow the following procedure on Eclipse IDE;

Firstly, just click on Apache Tomcat Icon under Servers View

Secondly, from the Server Configuration windows just change the hot deployment property like the following one;

You can choose under the Publishing tab such as Never publish automatically which will prevent Eclipse publishing whenever you make a change on the Java source files.