2012-03-27

How to use Google Maps API in Android emulator SDK version 17


  1. In Android Virtual Device Manager create an AVD with target "Android 2.3.3 - API Level 10" 
  2. emulator -avd name_of_avd
  3. adb pull /system/etc/permissions/com.google.android.maps.xml
  4. adb pull /system/framework/com.google.android.maps.jar
  5. (optional) Remove the create AVD in Android Virtual Device Manager
  6. In Android Virtual Device Manager create an AVD with target "Intel Atom x86 system Image (Intel Corporation) - API Level 10" 
  7. emulator -avd name_of_avd
  8. adb remount rw
  9. adb push com.google.android.maps.xml /system/etc/permissions
  10. adb push com.google.android.maps.jar /system/framework
  11. Download mkfs.yaffs2.x86
  12. adb push mkfs.yaffs2.x86 /data
  13. adb shell
  14. cd /data
  15. chmod 777 mkfs.yaffs2.x86
  16. ./mkfs.yaffs2.x86 /system system.img
  17. exit
  18. adb pull /data/system.img (...be patient)
  19. Copy system.img into avd directory
  20. Reboot emulator