Android adb ubuntu 64bit 不能运行

来源:互联网 发布:血龙狂舞知乎 编辑:程序博客网 时间:2024/05/16 11:38

./adb报错

no such file 

或者

adb: error while loading shared libraries:libncurses.so.5: wrong ELF class: ELFCLASS64 


因为没装32位支持库

先试试 sudo apt-get install ia32-libs 

不行的话 sudo apt-get update 再试试

还不行的话 就sudo apt-get install lib32z1(替代ia32-libs)

可能还报:

adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: 

那么sudo apt-get install lib32stdc++6 

0 0