Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse cannot find adb
    primarykey
    data
    text
    <p>I spent the last few hours moving my /home to its own partition, and then reinstalling Ubuntu 10.10. No problems there. I reinstall Eclipse and everything is as it should be: the ADT plugin is installed, my workspace is set correctly, and it even remembers my last session. But when I try to run an Android project i get this:</p> <pre><code>[2011-05-28 21:28:13 - Game] The connection to adb is down, and a severe error has occured. [2011-05-28 21:28:13 - Game] You must restart adb and Eclipse. [2011-05-28 21:28:13 - Game] Please ensure that adb is correctly located at '/home/evan/android-sdk/platform-tools/adb' and can be executed. </code></pre> <p>adb is in fact located at /home/evan/android-sdk/platform-tools, and is executable. And it's not just Eclipse: I can cd to platform-tools and run an adb command(<code>./adb logcat</code>) and I get <code>bash: ./adb: No such file or directory</code>.</p> <p>I reinstalled the SDK platform-tools, it didn't help.</p> <p>strace:</p> <pre><code>execve("/home/evan/android-sdk/platform-tools/adb", ["/home/evan/android-sdk/platform-"...], [/* 41 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7c4c7b3000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory ) = 40 close(3) = 0 munmap(0x7f7c4c7b3000, 4096) = 0 exit_group(1) = ? </code></pre> <p>and the entire platform-tools directory:</p> <pre><code>-rwxrwxrwx 1 evan evan 3747857 2011-05-28 21:27 aapt -rwxr-xrwx 1 evan evan 363197 2011-05-28 21:27 adb -rwxrwxrwx 1 evan evan 906338 2011-05-28 21:27 aidl -rwxrwxrwx 1 evan evan 328445 2011-05-28 21:27 dexdump -rwxrwxrwx 1 evan evan 2603 2011-05-28 21:27 dx drwxr-xr-x 2 evan evan 4096 2011-05-28 21:27 lib -rwxrwxrwx 1 evan evan 14929076 2011-05-28 21:27 llvm-rs-cc -rw-r--r-- 1 evan evan 332494 2011-05-28 21:27 NOTICE.txt -rw-r--r-- 1 evan evan 291 2011-05-28 21:27 source.properties </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload