1

我的配置:

Ubuntu 14.04 LTS
64bit
Qtcreator 3.1.1
everything is up-to-date

大家好,我正在尝试为ubuntu Phone编译和运行一个HTML5 App,但是经过一周的尝试和搜索,我仍然无法使其运行!目前我只想运行简单的 html5 应用程序模板。

这是这种情况:

问题是当我编译默认模板时:这些是我得到的错误:

  1. desktop_Exec(app):发现架构“全部”的意外执行:./qtc_device_debughelper.py
  2. security_policy_groups_safe_app(debug):(REJECT)reserved policy group 'debug':not for production use
  3. 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

我一直在到处寻找这个,但我找不到有用的东西。我需要你的一些知识来帮助我理解这一切!

4

1 回答 1

0

我有同样的错误。我认为 'ubuntu-core-15.04'-error 与您使用的 Ubuntu 版本有关。我使用基于 Ubuntu 14.04 的 Mint 17。Canonical 建议使用较新的 Ubuntu 版本进行应用程序开发,因为其中有一些内容它们已更改。

不幸的是,我无法帮助您解决其他错误。

于 2015-03-22T19:48:17.853 回答