---
title: "64位Ubuntu配置android环境报错(...adb\": error=2, 没有那个文件或目录)"
author: "矮蛋蛋"
date: "2014-02-07T13:29:19Z"
tags: []
categories: ["移动开发"]
slug: "64-ubuntu-android-adb-error-2"
draft: false
lastmod: "2014-02-07T13:29:19Z"
id: 2012049
url: "https://aidandan.iteye.com/blog/2012049"
---

原文地址：<http://blog.csdn.net/jayhomzhou/article/details/6895557>
Failed to get the adb version: Cannot run program "/home/jayhomzhou/android/android-sdk/platform-tools/adb": error=2, 没有那个文件或目录



64位系统，Ubuntu11.04，搭建JDK，Android环境，把android SDK复制过来后，里面的adb和其它命令的都不能使用。

错误提示：android-sdk-linux_86/platform-tools/adb: 没有那个文件或目录。

解决方案：由于是64bit的系统，而Android sdk只有32bit的程序，需要安装ia32-libs，才能使用。

运行如下命令：
 view plaincopy
sudo apt-get install ia32-libs