v3rc0 on Ubuntu 13.10 64bit Build Error (solved)

Hi,

maybe I didn’t read the instructions correctly, but in case you’re like me and cannot build the cpp-tests application for Android on Ubuntu 13.10 64bit, here’s what I needed to do.

I got this error when building the cpp-tests:
/home/jovr/Development/adt-bundle-linux-x86_64-20131030/sdk/tools/ant/build.xml:698: Execute failed: java.io.IOException: Cannot run program “/home/jovr/Development/adt-bundle-linux-x86_64-20131030/sdk/build-tools/android-4.4/aapt” (in directory “/home/jovr/Development/cocos2d-x-3.0rc0/cocos/2d/platform/android/java”): error=2, No such file or directory

I did this to solve it:
sudo dpkg --add-architecture i386
sudo dpkg --add-architecture i386
sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

Afterwards the build run fine.

Rgds