码迷,mamicode.com
首页 > 移动开发 > 详细

android 14.04 64位 adb cannot run program adb

时间:2014-09-18 00:42:02      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:android   style   color   io   使用   strong   for   文件   div   

按照网上的说法:

Failed to get the adb version: Cannot run program "adb": error=2, 没有那个文件或目录

 

64位系统,Ubuntu11.04,搭建JDK,Android环境,把android SDK复制过来后,里面的adb和其它命令的都不能使用。

错误提示:android-sdk-linux_86/platform-tools/adb: 没有那个文件或目录。

解决方案:由于是64bit的系统,而Android sdk只有32bit的程序,需要安装ia32-libs,才能使用。

运行如下命令:

     

     sudo apt-get install ia32-libs 

 

 

1. android 14.04 LTS 64位 adb 

    cannot run program adb 

sudo apt-get install lib32z1
   完成后还需要安装 libstdc++.so.6 这个库(adb需要32位的库)
sudo apt-get install lib32stdc++6


android 14.04 64位 adb cannot run program adb

标签:android   style   color   io   使用   strong   for   文件   div   

原文地址:http://www.cnblogs.com/hitwtx/p/3978309.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!