尝试从Tizen SDK

时间:2015-09-06 10:33:08

标签: eclipse tizen tizen-native-app

当尝试从Tizen IDE启动本机监视应用程序时,我看到奇怪的消息“某些应用程序类别,例如”监视应用程序“,无法通过”运行方式“启动。

确实,我尝试使用项目本地菜单中的Run As来启动我的应用程序。但是我应该如何在模拟器上启动我的应用程序呢?

模拟器设备(手表)已启动并正在运行,在桌面上可视为单独的小部件。它被选中了。签名配置已设置。

在控制台输出上,我看到消息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.

P.S。我添加“eclipse”标签,因为Tizen SDK非常清晰,基于Eclipse的IDE。使用Tizen IDE 2.3.1。

2 个答案:

答案 0 :(得分:4)

Watch face应用程序(Web / native)永远不会作为小部件安装。您无法在应用菜单中看到它们。

原因: 在项目的tizen-manifest.xml文件中,您将在下面的行中找到

<watch-application appid="org.tizen.watchsample" exec="watchsample" ambient-support="true">

使您的应用成为观看应用,这些应用被称为表盘,因为它们将用作设置为主要手表。

模拟器上,您无法更改主屏幕上的表盘。因此,您无法以这种方式测试您的手表应用程序。

答案 1 :(得分:0)

有同样的问题。我的问题是证书设置。

我按照说明操作:http://127.0.0.1:50224/help/topic/org.tizen.addon.certificate/html/dev_env/setting_author_certificate.htm (链接来自帮助,应该在Tizen IDE启动时在浏览器中工作,或者您可以转到Tizen IDE - &gt;帮助 - &gt;帮助内容和搜索证书。

更具体:我错误的经销商证书(使用三星通过电子邮件收到的通行证)

修复证书后,请不要忘记在Connection Explorer中右键单击您的设备,然后单击允许安装应用程序