![无法将我的 Ubuntu touch 应用程序启动到我的 Aquaris e4.5](https://linux22.com/image/1128427/%E6%97%A0%E6%B3%95%E5%B0%86%E6%88%91%E7%9A%84%20Ubuntu%20touch%20%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%90%AF%E5%8A%A8%E5%88%B0%E6%88%91%E7%9A%84%20Aquaris%20e4.5.png)
我在 Ubuntu touch 上创建了一个读取条形码的简单应用程序。
它在桌面上运行得很好,但无法将它启动到我的 Aquaris E4.5 中
这是我的控制台输出:
Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
Sdk-Launcher> Executing: /tmp/qfacts.nymeria_0.1_armhf.click
Sdk-Launcher> Force Install: False
Sdk-Launcher> Skip Uninstall:False
Sdk-Launcher> Launcher PID: 9544
Sdk-Launcher> Installing application .....
Transaction: Installing files
Status: Waiting in queue
Status: Starting
Status: Finished
Transaction: Installing files
Status: Waiting in queue
Status: Waiting for authentication
Status: Waiting in queue
Status: Starting
Status: Finished
Results:
Installed qfacts.nymeria-0.1.armhf (installed:click,removable=1,app_name=QFacts)
Sdk-Launcher> Application installed successfully
Sdk-Launcher> AppId: qfacts.nymeria_QFacts_0.1
Sdk-Launcher> Architecture: armhf
Sdk-Launcher> Application confined: True
Sdk-Launcher> Communication directory: /home/phablet/.local/share/qfacts.nymeria/
Sdk-Launcher> Application started: 9679
Sdk-Launcher> Received a failed event
Sdk-Launcher> The Application exited, cleaning up
Sdk-Launcher> Finished
我的智能手机处于开发者模式,通过 USB 连接。我不明白为什么我会收到failed event
。
源代码可以在这里找到: http://www.jeodrive.com/download/qfacts-tar/
如果你有任何想法,请告诉我!
答案1
这是因为我的模块的 .pro 没有正确声明。感谢 Chris Wayne (在 google+ 上) 帮助我检测到这个错误。