$ sudo apt install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 zlib1g-dev:i386 $ # if we're on amd64, we need to pull in certain 32-bit packages explicitly The Ubuntu emulator is composed of two parts: the runtime (what gets the emulator running) and the manager (the set of commands to start/stop and manage emulator instances). Until system-image works in the emulator, you can do the following to rebuild the image using the cached image: $ sudo ubuntu-emulator create myoldinstance A new option has been added to the latest version of ubuntu-emulator in vivid: -password= which can be used to override the default password. Passwords entered on the initial wizard security screen will be ignored. The new emulator instance is created with the phablet user password set to: 0000. If 'ubuntu-emulator create' fails with "qemu-img: Invalid options for file format 'qcow2'", you may need to use a raw disk as per -use-raw-disk You can work around this by doing sudo apt install libudev1:i386 If ubuntu-emulator run fails with libGL error: Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be broken on amd64, this is bug:1291333. Snapshotting is taken care of with the snapshot subcommand from ubuntu-emulator.All references to run-emulator.sh and build-emulator-sdcard.sh do no apply anymore.Once migrated to this ubuntu-emulator-images and android-emulator can be safely removed.To update to a latest image it is safe to create over the previous instance (upgrade option comming soon).Images are stored in XDG_DATA_DIR/ubuntu-emulator.XDG_CACHE_DIR/ubuntuimage is used to download images it is shared with ubuntu-device-flash. This can be changed during creation with the following parameters: -channel, -revision.By default, the latest built image from devel channel is used.To create a X86 instance, just give -arch=i386 to ubuntu-emulator create: sudo ubuntu-emulator create -arch=i386 myinstance Sudo ubuntu-emulator create myinstance (you can use any name for "myinstance") Create an instance (and/or select the desired arch to use).OpenGL capable desktop drivers (due the OpenGLES 2.0 translator).512MB of RAM dedicated for the emulator.Minimal System requirements for the emulator Minimal System requirements for the emulator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |