首页 > 代码库 > ubuntu 64位设置兼容32位 for ADB 命令无法运行

ubuntu 64位设置兼容32位 for ADB 命令无法运行

在虚拟机上Ubuntu系统里安装ADT开发工具,配置好环境后导入Android工程报错:

找不到Adb命令:

ubuntu 12.04 64位设置兼容32位的实现
REF:http://www.2cto.com/os/201210/159883.html


My configure is as follows:

1. **Newwork setting:etc/apt/apt.conf
2. sudo echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >/etc/apt/ sources.list.d/ia32-libs-raring.list
sudo apt-get update


3. sudo apt-get install ia32-libs
4. lib32z1 lib32ncurses5 lib32bz2-1.0
sudo apt-get install lib32z1
sudo apt-get install lib32ncurses5
sudo apt-get install lib32bz2-1.0


5. **sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
sudo apt-get install g++-multilib

6 finally OK

sudo apt-get remove ****

草稿,待修正

ubuntu 64位设置兼容32位 for ADB 命令无法运行