Android Studio Fedora 64 bits - Fix 'aapt' problem

When I try Android Studio 0.3.6 on Fedora 19 x64 I get a strange error

Cannot run program "/home/username/android-studio/android-sdk-linux/platform-tools/aapt": 
  java.io.IOException: error=2, No such file or directory

But the file exists, however when I try to run

-bash: ./build-tools/android-4.4/aapt: /lib/ld-linux.so.2:
   bad ELF interpreter: No such file or directory

The solution is to install the missing x86 libs

yum install libstdc++.i686 zlib.i686

Comments