參考資料:
http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk
http://serverfault.com/questions/442792/ubuntu-12-04-apt-get-install-ia32-libs-unmet-dependencies
http://my.oschina.net/uoy/blog/129108
本人在64位Debian上運作Android sdk目錄下的adb和aapt提示: bash: ./aapt: No such file or directory
這是因為Android sdk的檔案都是在32位的庫編譯的,在64位系統上無法找到對應的庫。
解決方案:
首先執行 : sudo apt-get install lib32stdc++6
此時可以看到adb順利運作了,但是aapt還是無法運作提示error while loading shared libraries: libz.so
此時執行: sudo apt-get install lib32z1 lib32z1-dev
運作aapt,大功告成。