May 2nd, 2014 - Writing Android App
I am trying to play with Android SDK. The machine that I'm using is virtual 64-bit Ubuntu 14.04LTS running on top of VBox. The host OS is Apple MacBook Pro 15" 20011 vintage. May be I will get a MacBook Air later on.I follow the instruction from http://developer.android.com to install 64-bit SDK for my ubuntu. The problem is that when I try to start "Eclipse", it complains that it cant find "adb". Which is confusing to me. When looking at "adb" itself, it shows that it is a 32-bit software instead of 64-bit software as the Android SDK is indicated.
To run 32bit executable file in a 64 bit multi-arch Ubuntu system, you have to add i386 architecture and install libc6:i386,libncurses5:i386,libstdc++6:i386 these three library packages.
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 sudo ./adb
No comments:
Post a Comment