Ubuntu – Failed to create SD card (& in AVD Folder)

androideclipsesd card

Ubuntu version 14.04 LTS
My Machine Dell Inspiron 15 3000 Series

I am following the following article for installing Android Application Development Enviornment [Target Super Newbies; IDE Eclipse]

Complete Installation Guide for Android SDK / ADT Bundle on Ubuntu

After completing 4th Step, I have not recieved the desired message. Following further… I have come upto Step 6. On following "Click your virtual device and then click Start….", I got message-

Error: Failed to create the SD card.
Error: Failed to create the sdcard in the AVD folder.

I executed the follwoing command as a remedial measure

apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
apt-get update

Now, I am getting following error in message box

Error: .../tools/mksdcard:error while loading shared libraries libgcc_s.so.1: cannot open shared object file: No such file or directory
Error: Failed to create the SD card.
Error: Failed to create the sdcard in the AVD folder.

Best Answer

I just ran into the same issue on my Ubuntu Trusty development machine. You can fix this error

error while loading shared libraries libgcc_s.so.1: cannot open shared object file: No such file or directory

by installing the corresponding 32bit library:

sudo apt-get install libgcc1:i386

I wish Google would stop requiring a 32 bit development platform, Android is the only reason I'm still carrying 32 bit libraries around.

Related Question