Tuesday, May 27, 2014

Android ADB: “No such file or directory” trying to execute linux binary

While using Qt for developing Android applications, you may face error 'Android ADB: “No such file or directory”' if you are working under Linux on a 64-bit platform like Ubuntu 64. You need to install the i386 32-bit compatibility libraries.
It's just a matter of doing:
    sudo apt-get install ia32-libs

Be aware that as of Ubuntu 13.10, it looks like ia32-libs were replaced by a different package, that in turn has dependencies on ncurses and C++ stdlibs, so you may need to use this command:
    sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6:i386

No comments:

Post a Comment