Tizen TV Web 应用程序:意外停止进度

Tizen TV web application : Unexpected stop progress

我正在尝试 运行 Samsung 模拟器上的示例电视 Web 应用程序,但出现错误:Unexpected stop progress...


(来源:i.ibb.co

其中 config.xml 是:-

<?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/HelloTizen" version="1.0.0" viewmodes="maximized"> <tizen:application id="AYtSQMvNTh.HelloTizen" package="AYtSQMvNTh" required_version="2.3"/> <content src="index.html"/> <feature name="http://tizen.org/feature/screen.size.all"/> <icon src="icon.png"/> <name>HelloTizen</name> <tizen:privilege name="http://tizen.org/privilege/application.launch"/> <tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/> <tizen:profile name="tv"/> <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/> </widget>

也不在模拟器中安装 .wgt 文件


(来源:i.ibb.co

我也遇到了同样的问题

检查您是否可以使用 sdb shell 命令连接到模拟器。 sdb.exe 位于 Tizen Studio 位置的 "tools" 目录中。

如果sdb shell return "closed"表示模拟器拒绝连接

我建议创建 "custom" 模拟器图像: 模拟器管理器->创建->TV->tv-...(自定义)

编辑:

到新模拟器上的 运行 Web 应用程序您必须更改平台

config.xml中:

<tizen:profile name="tv"/>

致: <tizen:profile name="tv-samsung"/>

并在 .tproject 中:

<platform>
    <name>tv-5.0</name>
</platform>

<platform>
    <name>tv-samsung-5.0</name>
</platform>

或者当您创建新项目时:

新项目 -> 模板 -> 自定义(扩展) -> 从下拉列表中选择 TV-samsung v5.0。