64位archlinux下面使用adb需要安装的包
来源:互联网 发布:mac ae插件安装位置 编辑:程序博客网 时间:2024/06/07 04:57
装了个64位的Archlinux,发现adb用不了,运行adb提示没有这个文件或目录,进入到sdk的platform-tools目录下去运行还是不行。
运行一下file命令
$ file adb
adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
可以看到adb是一个32位的linux程序。
那么首先就需要装32的glibc了,在archlinux的官网包搜索里面搜索glibc
4 packages found.
编辑/etc/pacman.conf文件,将下面几行前面的注释去掉
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
然后运行pacman -Sy同步包数据库
再运行pacman -S lib32-glibc安装32位的glibc
再运行adb
$ adb devices
adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
同理搜索ncurses可以看到需安装lib32-ncurses
# pacman -S lib32-ncurses
再运行adb
# adb devices
adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
再搜索可以看到需安装lib32-libstdc++5
# pacman -S lib32-libstdc++5
再运行adb
# adb devices
List of devices attached
10C61F9CD8B1 device
正常了。
- 64位archlinux下面使用adb需要安装的包
- linux下面 adb的使用
- 安装tcpdump需要下面几个包
- 先锋linux 64位安装包的安装使用
- 64位的Ubuntu下使用adb
- cygwin使用telnet需要安装的包
- Archlinux Pacman 的包
- 64位ubuntu下面提示Cannot run program adb的问题
- win7 adb 64位安装
- window7 64位adb 安装
- 64位debian安装androidSDK无法使用adb问题
- 64位系统ADB依赖包
- ArcGIS Desktop9.3 (需要双击注册文件的破解包)在64位操作系统上的安装方法
- archlinux安装的问题
- 关于Archlinux 的安装
- archlinux的安装
- 关于Archlinux 的安装
- ArchLinux的安装
- Hibernate的映射类型
- VC中MessageBox用法
- JavaScript入门之三:window对象
- H3C交换机配置文件的导入导出
- Web Service单元测试工具实例介绍之SoapUI
- 64位archlinux下面使用adb需要安装的包
- 求一个数组中的最大和次大值
- Linux访问Windows共享文件夹,关于mount cifs的一个问题
- 匿名方法与委托关联调用实例
- 精通CSS.DIV网页样式与布局(二)
- 关于 树(tree)结构
- wait和notify简单应用1
- 软件销售的8个策略
- 子窗口调用父窗口变量和函数示例