Playing With Android/Linux on my GNU/Linux PC

  1. mkdir android;cd android
  2. Download the SDK: wget http://dl.google.com/android/android-sdk_r13-linux_x86.tgz
  3. unpack it – tar xzf android-sdk_r13-linux_x86.tgz
  4. cd android-sdk-linux_x86/tools
  5. ./android – Android SDK and AVD manager opens a window stating “No AVD available”
  6. 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
  7. ./android
  8. install Samsung Galaxy Tab add-on
  9. 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”.
  10. 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.

About Robert Pogson

I am a retired teacher in Canada. I taught in the subject areas where I have worked for almost forty years: maths, physics, chemistry and computers. I love hunting, fishing, picking berries and mushrooms, too.
This entry was posted in technology. Bookmark the permalink.

Leave a Reply