今天试着在ubuntu上安装了ADT,安装完后才发现,出了问题,在* 上找了半天才解决了问题。现总结下来,方便以后翻阅。
系统:ubuntu 14.04 64位
ADT版本:adt-bundle-linux-x86_64-20140702.zip
错误1:
- adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
- ‘adb version’ failed!
- Failed to parse the output of ‘adb version’:
解决方法:
sudo apt-get install lib32stdc++6错误2:
- adt-bundle-linux-x86_64-20140702/sdk/build-tools/android-4.4W/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
解决方法:
sudo apt-get install lib32z1