Having trouble adding Android SDK directory to eclipse

by Mohi » Sat, 07 Mar 2009 10:59:50 GMT


Sponsored Links
 Hi,

I have Arch Linux 64 bit version on my computer. Today, I installed
eclipse 3.4.1 using pacman. I uninstalled openjdk6 and installed Sun
JDK. Then I ran hello world application on eclipse and everything
worked.

Then I downloaded the zip android file and extracted it on my home
folder. I installed ADT according to the instructions provided in
android home page. However, due to not having swt installed, I wasn't
able to get Android editor installed.

In the next step, I had to add the android SDK directory to the
eclipse by going to Window - Preference - Android and adding the
extracted zip address in it. However, when I press apply it gives me
the following error:

[2009-03-05 18:23:24 - adb]Failed to get the adb version: Cannot run
program "/home/myname/android/sdk/tools/adb": java.io.IOException:
error=2, No such file or directory

Note that my android files are extracted in the following directory: /
home/myname/android/sdk/

I just checked the address and found out that adb actually exists.

Any idea what the problem is?

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. @id/myid namespace issues?

When I create an XML layout using a custom layout class I have
problems using @ids between it and other layouts. They all work fine
between standard android views, but my custom ones won't work. Based
off this: 
http://dlee0113.blogspot.com/2009/05/differences-between-idfoo-and.html
I tried this @com.mynamespace:id/myid but that doesn't work either.

Suggestions?

-- 

2. Lcd on/off

Dear All,
  if I need to turn on/off the lcd and backlight , how to do it ?

Thanks and Regards,
  Vivek R

-- 

3. How To find the path and call the intent of a newly installed application..

4. About Android and Java?

5. getting the SDK samples (a tale of woe and intrigue and two questions)

6. Can't arrange radio-buttons in a Radio group.

7. Set progress bar drawable