我在 Debian 7.3、x64(已完全修补)上发现以下错误。
我很确定这是因为 adb
即使在其 SDK 工具的 64 位发行版中也是 32 位的
$ which adb
/opt/android-sdk/platform-tools/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
我不想安装数百兆字节的 32 位二进制文件来支持 adb
和 fastboot
。 (例如,参见 Ubuntu 64 with Android 64 Bundle cannot find adb executable)。
我知道 2012 年在 Please port SDK tools to 64-bit on Linux (adb, aapt, etc) 有一个未完成的功能请求, 但没有采取任何行动(甚至没有确认)。
有谁知道 Google 是否制作了 64 位版本的 adb
?如果没有,Google 是否有提供它们的计划?
最佳答案
好消息。它现在由 Debian 的优秀人员正式维护。
只需从主要的 debian 存储库安装 android-tools-adb
(您还有 fastboot 和其他一些)(不需要添加存储库,因为它默认存在)
它是原生的 amd64
架构!
$ 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
关于android - 64 位版本的 adb 和 fastboot?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21717178/