Разработка приложений Ubuntu. Не удалось установить Ubuntu SDK и ошибочный эмулятор Ubuntu

Привет я установил Ubuntu 14.04.1, и у меня больше нет терпения бороться с моей проблемой. Я не могу установить ubuntu-sdk пакет:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ubuntu-sdk : Depends: ubuntu-sdk-libs-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Я действительно не могу решить эту проблему (к сожалению, решения, перечисленные здесь, не помогают мне). После моего исследования я понимаю, что следующее поколение приложений Ubuntu будет использовать язык QML, и поэтому мне нужны спокойные компиляторы и IDE. Следующий шаг был установкой не Ubuntu-sdk (созданный сверху спокойного Создателя), но просто спокойного Создателя. Благодарите Бога, что я установил спокойного Создателя от официального сайта без любых проблем. Но теперь я не знаю, как использовать его в создании приложений Ubuntu (вообще говоря, я - новичок в создании приложений),

Таким образом, мой следующий шаг должен был установить ubuntu-emulator видеть, как Касание Ubuntu похоже, по крайней мере. После установки эмулятора и создания экземпляра я получаю следующее:

enter image description here

Немного excerption от терминала:

[    3.332876] EXT4-fs (mmcblk0): couldn't mount as ext3 due to feature incompatibilities
[    3.352482] EXT4-fs (mmcblk0): couldn't mount as ext2 due to feature incompatibilities
                                                                            [    3.396557] EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts: discard
                                                                                                            [    3.437316] initrd: boot mode: normal
                                                                                                                           [    3.510130] EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities
[    3.522541] EXT4-fs (loop0): couldn't mount as ext2 due to feature incompatibilities
                                                                                                                                                                                                        [    3.688075] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[    3.691622] initrd: mounting system.img (image developer mode)
[    3.822189] EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
[    3.844501] EXT4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities
                                                                             [    3.956694] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
[    4.106987] initrd: device is generic_x86
               [    5.341856] Clocksource tsc unstable (delta = 820035903 ns)
[   12.067393] initrd: checking fstab /root/var/lib/lxc/android/rootfs/fstab* for additional mount points
                                                                       [   12.328245] initrd: checking mount label mtdblock2
                                                                                      [   12.374596] initrd: mounting /dev/mtdblock2 as /root/android//cache
mount: mounting /dev/mtdblock2 on /root/android//cache failed: Invalid argument
[   12.406983] 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.
[   16.495823] init: ureadahead-touch main process (448) terminated with status 5
[   53.042745] init: /dev/hw_random not found
               [   53.044612] init: cannot open '/initlogo.rle'
[   53.188136] init: /dev/hw_random not found
               [   54.943603] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[   54.943943] init: cannot find '/system/bin/ubuntuappmanager.disabled', disabling 'ubuntuappmanager'
[   55.031468] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[   55.031579] init: powerctl: cannot expand '${sys.powerctl}'
[   55.031664] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[   55.031735] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
[   55.083456] init: cannot find '/sbin/adbd', disabling 'adbd'
[   55.094205] init: cannot find '/sbin/adbd', disabling 'adbd'
[  166.218726] systemd-logind[1013]: Failed to start unit user@32011.service: Unknown unit: user@32011.service
                                                                                                      [  166.219137] systemd-logind[1013]: Failed to start user service: Unknown unit: user@32011.service
                                                                                                                                                                                                 * Setting up X socket directories...                                [ OK ]
[  168.769983] systemd-logind[1013]: Failed to start unit user@0.service: Unknown unit: user@0.service
                                                                                              [  168.771611] systemd-logind[1013]: Failed to start user service: Unknown unit: user@0.service
                                                                                                                                                                                     * Starting automatic crash report generation: apport                [ OK ]
                                                                                                                                                                                     emulator: User configuration saved to /home/timur/.android/emulator-user.ini

Эмулятор является очень медленным (я работаю над своим ноутбуком HP), и багги. Я предполагаю, что причина ошибочного представления находится в видеодрайверах и может быть чем-то имеющим отношение с OpenGL, я не знаю... Я создам дополнительный вопрос относительно этой проблемы

1
задан 13 April 2017 в 15:24

1 ответ

Для фиксации установки SDK сначала устанавливают ubuntu-sdk-libs-dev

sudo apt-get update
sudo apt-get install ubuntu-sdk-libs-dev

, Тогда устанавливают sdk:

sudo apt-get install ubuntu-sdk
2
ответ дан 7 December 2019 в 14:05

Другие вопросы по тегам:

Похожие вопросы: