Ubuntu Touch Emulator on 16.10
What sort of dire sorcery is required to make the Ubuntu Touch emulator work? I enabled Hardware Visualization in my BIOS, followed various tutorials, reinstalled everything a couple of times and still, i only see a black screen.
There are two Errors i can spot:
/sbin/adbd: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
I tried to maually install various versions of libgio using apt-get, but that didn't help.
mount: mounting /dev/mmcblk0 on /tmpmnt failed: Invalid argument
I suppose these errors are related, but I'm not sure.
Here's the full log: http://pastebin.com/AQtsyQ2j
I heard that the emulator is really slow, but how slow exactly? I let it sit for 30 minutes and nothing happened, that can't be right...
Solution 1:
This is a known bug in Yakkety: https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1625182
The Ubuntu SDK IDE and the associated tools like the Emulator are currently unsupported, but some users report it still works in Ubuntu 16.04 Xenial Xerus.
A good alternative to the emulator is using clickable to build the application in a docker container. With clickable --desktop
, the app can be run on the desktop as well. This works on all versions of Ubuntu, as well as all other operating systems that support docker.