64位ubuntu运行adb 提示找不到的解决办法

来源:互联网 发布:幸运28源码出售 编辑:程序博客网 时间:2024/05/16 09:42

          在64位的ubuntu上搭建好android开发环境,配置好环境变量运行adb时却提示
   ”No such file or directory
          到adb所在目录下直接运行adb仍然提示
    ”No such file or directory
输入:
file adb

adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped



从ELF 32-bit LSB executable可以看出adb是32位的linux运行程序,由于系统是64位的,所以无法运行。
于是,安装32位程序运行支持库即可:
sudo apt-get install ia32-libs