笛里谁知壮士心,沙头空照征人骨。这篇文章主要讲述(OK) CentOS 7—adb—android-sdk_r24.3.3-linux.tgz相关的知识,希望能为你提供帮助。
[root@localhost lib]# uname -a
Linux localhost.localdomain 4.2.1-1.el7.elrepo.x86_64 #1 SMP Mon Sep 21 20:01:19 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost lib]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@localhost lib]#
[root@localhost lib]# adb root
bash: adb: 未找到命令...
相似命令是: gdb
--------------------------------
[root@localhost platform-tools]# pwd
/opt/android-on-linux/android-sdk-linux/platform-tools
[root@localhost platform-tools]# ls adb
adb
[root@localhost platform-tools]#
将 PATH=$PATH:/opt/android-on-linux/android-sdk-linux/platform-tools 添加到
/root/.bashrc
最后。
[root@localhost lib]# adb root
bash: /opt/android-on-linux/android-sdk-linux/platform-tools/adb: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
[root@localhost lib]# yum install glibc.i686
[root@localhost lib]# adb root
adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[root@localhost lib]# yum install libstdc++.so.6
--------------------------------
【(OK) CentOS 7—adb—android-sdk_r24.3.3-linux.tgz】
推荐阅读
- Centos7升级Python2到Python3
- k8s部署-49-k8s日志采集的解决方案思路梳理
- (OK) 编译cBPM—CentOS7—gdb—gdbserver—成功—调试
- (OK) 编译cBPM-CentOS7-codeblocks
- 迅速大局部还原win8系统回收站文件的办法
- 预装Windows7/Windows8.1的电脑销售剩余时间不足一年
- win8/win8.1系统密钥激活失败提示0XC004F061的处理办法
- windows8系统调节屏幕亮度|win8系统调节屏幕亮度的小技巧
- Win8系统打开安全防护技巧提示“Windows Defender已经关闭”怎样处理