jww jww - 6 months ago 46
Android Question

64-bit version of adb and fastboot?

I'm catching the error below on Debian 7.3, x64 (fully patched).

enter image description here

I'm pretty certain its because

is 32-bit even in the 64-bit distro of its SDK tools

$ which adb
$ /opt/android-sdk/platform-tools/adb
bash: /opt/android-sdk/platform-tools/adb: No such file or directory
$ file /opt/android-sdk/platform-tools/adb
/opt/android-sdk/platform-tools/adb: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8,
not stripped

I don't want to install hundreds of megabytes of 32-bit binaries just to support
. (See, for example, Ubuntu 64 with Android 64 Bundle cannot find adb executable).

I know there's an outstanding feature request from 2012 at Please port SDK tools to 64-bit on Linux (adb, aapt, etc), but no action has been taken (even no acknowledgement).

Does anyone know if Google makes a 64-bit version of
? If not, does Google have any plans on providing them?

gcb gcb

Good news. it is now officialy maintained by the fine folks at Debian.

just install android-tools-adb (you also have fastboot and a few others) from the main debian repo (no need to add repo as this is there by default)

it is native amd64 architecture!

$ sudo aptitude install android-tools-adb
$ file /usr/bin/adb
/usr/bin/adb: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b36a05975f3d903a4f0ee3e02b581cc71ddedf26, stripped