Skip to content

Instantly share code, notes, and snippets.

@ozooxo
Created April 22, 2014 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozooxo/11165806 to your computer and use it in GitHub Desktop.
Save ozooxo/11165806 to your computer and use it in GitHub Desktop.
Add i386 architecture in 64 bit ubunbu 14.04
# ./adb in Android Emulator doesn't work. It turns out that that executable file is 32 bit.
# beta@landlubber:~/Software/Android/sdk/platform-tools$ ./adb
# bash: ./adb: No such file or directory
# To install 32 bit architecture in a 64 bit ubunbu 14.04 machine, do
sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386
./adb install ~/workspace/facebook-android-sdk-3.8.0/bin/FBAndroid-7.0.0.apk
# It works :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment