LoginSignup
5
5

More than 5 years have passed since last update.

Android Studioでaaptが見つからないエラーを解決する方法

Posted at

64bit版Debian/UbuntuでAndroidStudioを動かした時に、

Cannot run program "/opt/android-studio/sdk/build-tools/android- 4.2.2/aapt": error=2, No such file or directory

とエラーが表示されて、R.javaが生成されずにコンパイルができない状態になった。
StackOverflowで探していたらAndroid studio cannot find aapt
というスレッドに書かれている

sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1

を試したら解決した。

aaptが32bitアプリケーションなので、32bit用
標準C++ライブラリと圧縮ライブラリが必要だったらしい。

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5