首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >"Ubuntu.Connectivity“未安装

"Ubuntu.Connectivity“未安装
EN

Ask Ubuntu用户
提问于 2014-09-06 17:07:10
回答 1查看 156关注 0票数 0

我可以在Ubuntu14.04上安装Ubuntu.Connectivity 1.0以在我的nexus4应用程序中使用我已经用过的例子:http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Connectivity.NetworkingStatus/

当在我的设备上运行它时,我有一个错误:"Ubuntu.Connectivity“没有安装

代码语言:javascript
复制
Processing triggers for mime-support (3.55ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for dbus (1.8.6-1ubuntu1) ...
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for udev (208-8ubuntu1) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.30.7-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libunity-scopes3_0.6.4+14.10.20140828.1-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
(click-ubuntu-sdk-14.10-armhf)root@hafmed-HP-ProBook:/home/haf-med# apt-get install qml-module-ubuntu-connectivity
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 unity-plugin-scopes : Depends: libunity-scopes3 (>= 0.6.0+14.10.20140804.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
(click-ubuntu-sdk-14.10-armhf)root@hafmed-HP-ProBook:/home/haf-med#

请帮我解决这个问题

EN

回答 1

Ask Ubuntu用户

发布于 2014-09-07 02:24:52

这个API在14.04中不可用,它是在14.10中引入的。要为14.10部手机开发应用程序,您应该创建一个模拟器或使用您的设备,并在QtCreator中创建一个"Kit“来处理那里的构建和运行。您将无法直接在14.04桌面上运行它。

有关使用工具包运行应用程序的简短视频,请参见http://developer.ubuntu.com/start/ubuntu-sdk/using-device-kits/

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/520889

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档