Alex Rivera | Logout

Android - How to copy the emulator to a friend for testing

Asked 2011-01-01T18:35:55.077
14

I'd like to copy my whole emulator install to another computer with a desktop shortcut which will start it so that my friend can test my app. Has anyone done this?

Edit
Report

1 Answer

10

Well, it's not true that you need the complete SDK to run the emulator. If you copy only these files from the Android SDK installation and from your AVD (i.e ~/.android/avd/my.avd)

.
|-- cache.img
|-- config.ini
|-- emulator
|-- emulator-user.ini
|-- kernel-qemu
|-- ramdisk.img
|-- sdcard.img
|-- system.img
|-- userdata.img
|-- userdata-qemu.img
`-- WVGA800
    |-- arrow_down.png
    |-- arrow_left.png
    |-- arrow_right.png
    |-- arrow_up.png
    |-- background_land.png
    |-- background_port.png
    |-- button.png
    |-- controls.png
    |-- hardware.ini
    |-- keyboard.png
    |-- key.png
    |-- layout
    |-- select.png
    `-- spacebar.png

you will be able to start the emulator as

$ ./emulator -sysdir . -kernel kernel-qemu -ramdisk ramdisk.img -system system.img -skindir . -skin WVGA800 -datadir .

and any APK installed and configuration set will persist. Your friend would only need to run this command line which you can put in a script.

answered 2011-01-02T06:40:41.810

Your Answer