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. how to detect incomming sms with api level 8 (2.2 FROYO)

since 0.9, this feature has been deleted. My question is how to detect
this event, and how can sms apps detect it (like chomp sms or
handcent)
Thanks

-- 

2. 2.2 Media File Support

Is there an updated list of media files that are supported on 2.2?

I'm fairly certain that the list located at:
http://developer.android.com/guide/appendix/media-formats.html is
outdated.

I have a file that's using:

- AAC for audio encoding
- AVC for video encoding
- MPEG-4 for it's file container

And it's not playing on a Nexus One with 2.2 installed. Similar to
this post (

3. Compile Sip Stack

4. How to statically link SQLite against my app

5. $99 Apple iTV?! will Google TV be $49???

6. Using ContentResolver.query() returns null

7. How can I intercept outgoing SMS's?