当尝试从 Tizen IDE 启动本机手表应用程序时,我看到奇怪的消息“某些应用程序类别,例如“手表应用程序”,无法通过“运行方式”启动。
事实上,我尝试使用项目本地菜单中的运行方式来启动我的应用程序。但是我还应该如何在模拟器上启动我的应用程序呢?
模拟器设备(手表)已启动并正在运行,在桌面上作为单独的小部件可见。它被选中。签名配置已设置。
在控制台输出上我看到消息processing result : FATAL_ERROR [61]
.
我还尝试通过创建的启动配置启动,但这会导致相同的错误消息。
IDE 日志显示以下堆栈跟踪:
[2015.09.06 12:16:48][ERROR] ConnectionExplorer.java(658) - Fail to get platform log
[2015.09.06 12:18:59][ERROR] RdsDeployer.java(269) - Cannot partially upload or reinstall
org.eclipse.core.runtime.CoreException: [RDS] Cannot install application
at org.tizen.common.rds.RdsDeployer.newCoreException(RdsDeployer.java:699)
at org.tizen.common.rds.RdsDeployer.postInstall(RdsDeployer.java:634)
at org.tizen.common.rds.RdsDeployer.partialZipInstall(RdsDeployer.java:566)
at org.tizen.common.rds.RdsDeployer.deploy(RdsDeployer.java:267)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.deployApplication(TizenLaunchDelegate2.java:783)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launchApplicationForRun(TizenLaunchDelegate2.java:504)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launch(TizenLaunchDelegate2.java:216)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.tizen.common.sdb.command.message.CommandErrorException:
Error code: FATAL_ERROR
Error message:
Command: /usr/bin/pkgcmd -q -r -t tpk -n com.au.heywatch
Management: Installation or uninstallation is not working temporarily.
附:我添加“eclipse”标签是因为 Tizen SDK 非常明显是基于 Eclipse 的 IDE。使用 Tizen IDE 2.3.1。
表盘应用程序(Web/本机)永远不会作为小部件安装。您无法在应用程序菜单中看到它们。
原因:
在项目的 tizen-manifest.xml 文件中,您将找到以下行
<watch-application appid="org.tizen.watchsample" exec="watchsample" ambient-support="true">
这使得你的应用程序成为手表应用这些应用程序被称为表盘,因为它们将在设置中用作主要手表。
And on emulator,您无法在主屏幕上更改表盘。因此,您将无法以这种方式测试您的手表应用程序。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)