Ubuntu 模拟器需要 Ubuntu-one 账户,添加后仍然不起作用

Ubuntu 模拟器需要 Ubuntu-one 账户,添加后仍然不起作用

当我安装 Ubuntu SDK 和模拟器时,只出现黑屏 - 模拟器日志显示:

Loading, please wait...
[    1.310000] systemd-udevd[84]: starting version 204
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    2.880000] initrd: mounting /dev/mmcblk0
[    2.900000] EXT4-fs (mmcblk0): couldn't mount as ext3 due to feature incompatibilities
[    2.910000] EXT4-fs (mmcblk0): couldn't mount as ext2 due to feature incompatibilities
[    3.570000] EXT4-fs (mmcblk0): recovery complete
[    3.570000] EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts: discard
[    3.610000] EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities
[    3.630000] EXT4-fs (loop0): couldn't mount as ext2 due to feature incompatibilities
[    4.680000] EXT4-fs (loop0): recovery complete
[    4.690000] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[    4.690000] initrd: mounting system.img (image developer mode)
[    4.800000] EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
[    4.830000] EXT4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities
[    4.930000] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
[    5.010000] initrd: device is generic
[    6.280000] initrd: checking mount label mtdblock2
[    6.320000] initrd: mounting /dev/mtdblock2 as /root/android//cache
mount: mounting /dev/mtdblock2 on /root/android//cache failed: Invalid argument
[    6.370000] initrd: mounting /root/var/lib/lxc/android/system.img as /root/android/system
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
[    9.250000] init: ureadahead-touch main process (260) terminated with status 5
[   37.150000] init: /dev/hw_random not found
[   37.150000] init: cannot open '/initlogo.rle'
[   37.310000] init: /dev/hw_random not found
[   37.710000] healthd: wakealarm_init: timerfd_create failed
[   39.130000] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[   39.130000] init: cannot find '/system/bin/ubuntuappmanager.disabled', disabling 'ubuntuappmanager'
[   39.530000] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[   39.530000] init: powerctl: cannot expand '${sys.powerctl}'
[   39.530000] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[   39.530000] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
[   39.650000] init: cannot find '/sbin/adbd', disabling 'adbd'
[   54.630000] systemd-logind[658]: cgmanager: cgm_list_children for controller=systemd, cgroup_path=user failed: invalid request

有没有人成功设置过模拟器?一般不建议在设备上安装 Ubuntu 进行调试,就像 Android 的情况一样?如果是这样,哪款手机支持得最好?

更新-2:

一定是我没有重启某个服务 - 再次安装 ppa 后,下次启动似乎已经修复了这个问题。不幸的是,帐户选项卡似乎不起作用,并且无法连接到 Ubuntu One - 这显然是使用应用程序安装程序所必需的。

这只是一个错误,还是 Ubuntu 手机会像 Android 一样,需要许可才能使用 repo?

桌面版 Ubuntu 商店不需要账户,这只是对 Ubuntu-touch 预发布的限制吗?

答案1

我也没有成功运行过模拟器,所以我无法帮助你,但就调试而言,是的,最好在手机上调试。

至于设备,最好使用 Canonical 官方支持的硬件。您可以找到受支持设备的列表这里

相关内容