“安装或卸载暂时不工作”尝试从Tizen SDK启动Tizen手表应用程序时出错 [英] "Installation or uninstallation is not working temporarily" error when trying to launch Tizen watch application from Tizen SDK

查看:136
本文介绍了“安装或卸载暂时不工作”尝试从Tizen SDK启动Tizen手表应用程序时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试从Tizen IDE启动原生手表应用程序时,我看到一个奇怪的消息某些应用程序类别,如Watch Application,无法通过运行方式启动。



确实,我试图从项目本地菜单中使用运行方式启动我的应用程序,但是我应该怎么在模拟器上启动我的应用程序?



在控制台输出我看到消息处理结果:FATAL_ERROR [61]



我也试图通过创建启动配置,但这会导致相同的错误消息。



IDE日志显示以下堆栈跟踪:

  [2015.09.06 12:16:48] [错误] ConnectionExplorer.java(658) - 无法获取平台日志
[2015.09.06 12:18:59] [错误] RdsDeployer.java(269) - 无法部分上传或重新安装
org.eclipse.core.runtime.CoreException:[RDS]无法在org.tizen.common.rds.RdsDeployer.newCoreException(RdsDeployer.java:699)
中安装应用程序
org.tizen.common.rds.RdsDeployer.postInstall(RdsDeployer.java:634)
在org.tizen.common.rds.RdsDeployer.partialZipInstall(RdsDeployer.java:566)
在org.tizen。 common.tar.Rs.Deployer.deploy TizenLaunchDelegate2.launchApplicationForRun(TizenLaunchDelegate2.java:504)
在org.tizen.nativecommon.launch.TizenLaunchDelegate2.launch(TizenLaunchDelegate2.java:216)
在org.eclipse.debug.internal.core.LaunchConfiguration。启动(LaunchConfiguration.java:858)
在org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
在org.eclipse.debug.internal.ui.DebugUIPlugi n.buildAndLaunch(DebugUIPlugin.java:1018)
在org.eclipse.debug.internal.ui.DebugUIPlugin $ 8.run(DebugUIPlugin.java:1222)
在org.eclipse.core.internal.jobs .Worker.run(Worker.java:53)
导致:org.tizen.common.sdb.command.message.CommandErrorException:
错误代码:FATAL_ERROR
错误消息:
命令:/ usr / bin / pkgcmd -q -r -t tpk -n com.au.heywatch
管理:安装或卸载暂时不工作。

我添加了eclipse标签,因为Tizen SDK非常明显是基于Eclipse的IDE。使用Tizen IDE 2.3.1。

解决方案

观看面部应用程序(Web /本机)从未安装为小部件。您不能在应用程序菜单中看到它们。



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



 < watch-application appid =org.tizen.watchsampleexec =watchsampleambient-support =true> 

这使您的应用程式为观看应用程式,这些应用程式称为「手表」面孔,因为它们将被用来作为主手表的设置。



而在模拟器上,您不能更改家中的手表屏幕。因此,您无法以这种方式测试您的手表应用程序。


When trying to launch the native watch application from Tizen IDE, I see the strange message "Certain application categories, such as "Watch Application", cannot be launched by "Run As".

Indeed, I try to use Run As from the project local menu to launch my app. But how else I am supposed to launch my application on the emulator?

The emulator device (watch) is up and running, visible on desktop as a separate widget. It is selected. The signing configuration is set up.

On the console output I see the message processing result : FATAL_ERROR [61].

I also tried to launch through the created launch configuration but this results the same error message.

The IDE logs show the following stack trace:

[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. I add "eclipse" tag because Tizen SDK is very clearly Eclipse based IDE. Using Tizen IDE 2.3.1.

解决方案

Watch face applications(Web/native) are never installed as widgets. You cannot see them in app menu.

Reason: Within your tizen-manifest.xml file in your project, you'll find below line there

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

which makes your app as watch application and these apps are known as watch faces because they will be used in setting as the main watch in gear.

And on emulator, you cannot change the watch face on the home screen. Hence, you won't be able to test your watch application that way.

这篇关于“安装或卸载暂时不工作”尝试从Tizen SDK启动Tizen手表应用程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆