1. go to this link and download it to the folder/directory where you have earlier installed the android package [ensure to close eclipse during this time]

  2. do not unpack / unzip it but follow these steps: start the eclipse, select help > install new software. click add, in the top-right corner.

  3. in the add repository dialog, click archive. select the downloaded file and click ok.
  4. enter "adt plugin" for the name and click ok.
  5. in the available software dialog, select the checkbox next to developer tools and click next.
  6. in the next window, you'll see a list of the tools to be downloaded. click next and follow the guidelines like accepting the license agreements then finish.
  7. ignore the security warning and click ok. and the when the installation completes, restart the eclipse.

that should resolve the problem for you. try to restart your system if required and start the eclipse again. i've followed the same steps and it worked for me...


i have updated my adt to 22.6.1 but still whenever i start eclipse following error message comes

i believe this is a symptom of two version of the android sdks. one is being used by you from the command line, and the second is being maintained by eclipse.

to ensure eclipse uses the version of android sdk (and ndk) you are maintaining, you need to set both android_sdk_root and android_ndk_root.

for example:

$ ls /opt/
android-ndk-r9c  android-sdk  android-studio  eclipse  intel

in the example above, i have installed the sdk and ndk in /opt. so i set it in .bashrc:

$ cat ~/.bashrc

# android goodness
export android_ndk_root=/opt/android-ndk-r9c
export android_sdk_root=/opt/android-sdk

# java goodness
export java_home=/usr/lib/jvm/java-7-openjdk-amd64/

export path=$java_home/bin:$path:/opt/android-sdk/platform-tools:/opt/android-sdk/tools

if you don't set android_sdk_root and android_ndk_root, then you need to use eclipse preferences to set it.

for completeness, the android folks are the ones who state to use android_sdk_root and android_ndk_root. that's because the various tools in the sdk and ndk use the environmental variables. see recommended ndk directory?.

finally, all this assumes you are using the latest eclipse plugin. but i've never had problems with the plugins (only with sdk and ndk paths), so i don't believe its your problem. and i could not duplicate it with kepler on debian.

Related Query

More Query from same tag