- mkdir android;cd android
- Download the SDK: wget http://dl.google.com/android/android-sdk_r13-linux_x86.tgz
- unpack it – tar xzf android-sdk_r13-linux_x86.tgz
- cd android-sdk-linux_x86/tools
- ./android – Android SDK and AVD manager opens a window stating “No AVD available”
- edit /etc/sysctl.d/bindv6only.conf file and change the line
net.ipv6.bindv6only = 1
to
net.ipv6.bindv6only = 0 #to fix “network unreachable” error on my system. Then reboot - ./android
- install Samsung Galaxy Tab add-on
- Create Android Virtual Device by clicking on “Virtual Device” and “New”. Fill in the blanks. I called mine “Pet” and entered 4096 MB for the size of the virtual SD card and clicked “Create AVD”.
- Clicked “Virtual Devices” and Start
There’s no “Market” in the emulator but you can change the system image to replace with one that has.
I found an image with Android Market for Android/Linux 1.6. I replaced system.img in /android/android-sdk-linux_x86/platforms/android-4/images. With it I installed GunSim, a ballistics calculator:
This is a handy tool one can take to the rifle range for quick adjustments on your smart phone. Cool. It is useful to be able to test such apps on a PC in order to recommend them to Android/Linux users.