(OK) CentOS 7—adb—android-sdk_r24.3.3-linux.tgz

Posted ztguang_张同光

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了(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的主要内容,如果未能解决你的问题,请参考以下文章

(OK) 编译xerces-c-3.1.2(动态库)—CentOS 7— android-ndk

(OK) 编译libiconv-1.14(静态库)—CentOS 7— android-ndk

(OK) 编译xerces-c-3.1.2(静态库)—CentOS 7— android-ndk

(OK) 编译cBPM-android—CentOS 7—NDK8—androideabi-4.7— API14

( OK—C程序 ) Eclipse C/C++ — CentOS 7 + android-ndk + eclipse-cpp-mars-R

(OK—C++程序) Eclipse C/C++ — CentOS 7 + android-ndk + eclipse-cpp-mars-R