Ubuntu 14.04でEclipse ADTを使う
http://developer.android.com/sdk/index.htmlから落としてきたEclipse ADTを起動すると、エラーダイアログが表示された。
/home/user/adt-bundle-linux-x86_64-20140702/sdk/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
解決するには、コンソールから以下のコマンドを実行し、Eclipse ADTを再起動する。
sudo apt-get install lib32stdc++6
これでめでたしめでたし、、と思ったら、起動後にAndroid Application Projectを作ると、Eclipseのコンソールにエラーが。
/home/user/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
これで大丈夫なはず。。