Ubuntu: Failed to get the adb version: Cannot run program & Cannot allocate memory



Question:

A little change in resources file, start giving error, and when I clean the project its delete R.java file and I have to restart my eclipse.

Problem is when I restart my eclipse and clean and run my project its give below error:

Failed to get the adb version: Cannot run program "/home/android-sdk-linux/platform-tools/adb": java.io.IOException: error=12, Cannot allocate memory from '/home/android-sdk-linux/platform-tools/adb' - exists=true  

I restart the system too but same problem. Also run chmod -R 777 but no luck.

Checked this but no help: https://stackoverflow.com/questions/8343729/failed-to-get-adb-version-error-13-in-ubuntu-11-10


Solution:1

Your system is 64bit? if so, install the 32bit library

apt-get install ia32-libs  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »