Home

Awesome

node-android-emulator experimental

Manage android emulators.

var emulator = require('android-emulator');

Make sure to install Intel HAXM to have better perfs using x86 images.

API

Every call returns a Promise.

list()

return existing AVD

emulator.list();

create(name, options)

create a new AVD using given options. Options are the same as in the Android AVD options without the dashes. We provide some sample configurations in sample-emulators.json

emulator.create('Nexus7-4.4.3', {
    abi: 'x86',
    target: 'android-19',
    skin: '1280x800'
});

start(name)

Start the given AVD. Promise is fulffiled when device is full booted.

emulator.start('Nexus7-4.4.3');

stop(name)

Stop the given AVD.

emulator.start('Nexus7-4.4.3');