← Back to team overview

ubuntu-phone team mailing list archive

Updates to the android-emulator

 

It's now packaged in the archive as android-emulator package.

# in trusty
$ apt-get install android-emulator

At the moment one can install it as a normal package, but it ( for
whatever reasons) wants to run with read-write privileges.

So to run it

$ cp -r /usr/share/android/emulator/ ~/

$ cd ~/emulator/

# To download latest ubuntu rootfs and create filesystem
$ ./build-emulator-sdcard.sh

$ ./run-emulator.sh

To run emulator.

At the moment this should give one:

* adb to ubuntu
* serial console to android
* telnet access to control emulated events (sms, gps, etc)

It will boot into black screen on the graphical output.

Things to fix at the moment:

* missing /dev/eth0
* /data read-only in the android-container
* no graphical output

If you are not running trusty yet, you can download the latest emulator from:
http://packages.ubuntu.com/trusty/i386/android-emulator/download

Regards,

Dmitrijs.


Follow ups