【发布时间】:2015-04-23 05:30:40
【问题描述】:
我的配置:
Ubuntu 14.04 LTS
64bit
Qtcreator 3.1.1
everything is up-to-date
大家好, 我正在尝试为 ubuntu Phone 编译和运行一个 HTML5 应用程序,但是在尝试和搜索一周之后,我仍然无法让它运行! 目前我只想运行简单的 html5 应用模板。
情况是这样的:
我已经按照https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/中的说明安装了ubuntu sdk
我在运行单击菜单中创建了一个 i386 构建目标。 (15.04) --- 没有错误退出
我在设备中创建了一个 i386 模拟器 --> i386 - devel - 默认密码 --- 终于可以正常运行了
问题是当我编译默认模板时:这些是我得到的错误:
- desktop_Exec(app): 发现意外的 Exec 架构为 'all':./qtc_device_debughelper.py
- security_policy_groups_safe_app(debug):(REJECT)保留策略组“debug”:不用于生产
- security_policy_version_matches_framework(app.apparmor):无效的框架'ubuntu-core-15.04'
当我尝试编辑它时: 这就是我得到的:
Traceback (most recent call last):
File "/tmp/qtc_device_applaunch.py", line 29, in <module>
gi.Repository.get_default().require("UbuntuAppLaunch")
gi.RepositoryError: Typelib file for namespace 'UbuntuAppLaunch' (any version) not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 2158, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/qtc_device_applaunch.py", line 33, in <module>
from gi.repository import UpstartAppLaunch as UAL
File "/usr/lib/python3/dist-packages/gi/importer.py", line 53, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name UpstartAppLaunch, introspection typelib not found
我一直在到处寻找这个,但我找不到有用的东西。 我需要你的一些知识来帮助我理解这一切!
【问题讨论】:
-
你可能想问askubuntu.com
标签: sdk ubuntu-14.04 html5-apps