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. why import "import com.google.googlenav.placemark" is unknow

Now i try to add Placemark in my maps

But unfortutatly this library is unknow
(com.google.googlenav.placemark), what is the problem

Thanks
--~--~---------~--~----~------------~-------~--~----~

2. Run two android instances on the same host and comunicate betwen them using socket

Socket-based communication probably isn't the way you would want to
talk between two Android devices. Consider the communication
environment where they would typically exist. Raw TCP or UDP of a
socket is not ideal, and something like HTTP or a similar protocol is
probably the better choice.

Try taking a look at 
http://code.google.com/android/reference/com/google/android/gtalkservice/package-summary.html
, which exposes a service based on the messaging service that Google
Chat uses.

Cheers,
Justin
Android Team @ Google




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

3. how to initialize global variable of type TextView

4. Running Tomcat on Android

5. Problem on start simple application on emulator

6. Run time Error Looper.prepare() has not call

7. How to make a text scroll automatically