无法通过命令行界面将应用程序安装到我的三星智能电视上但已成功通过tizen studio安装

问题描述

我正在使用CLI(命令行界面)来开发应安装到三星智能电视的应用,方法是按照三星开发者网站(https://developer.samsung.com/smarttv/develop/getting-started/using-sdk/command-line-interface.html)上的说明进行操作,但失败了, 而我发现cli命令中有两个不同类型的电视项目和电视三星项目。 使用此cli命令“ tizen list web-project”,我可以在所有Web项目列表中同时构建电视项目和tv-samsung项目,但是当我在打包两个Web应用程序项目后尝试安装wgt时,CLI只能成功安装电视项目但是无法将电视三星项目安装到我的三星智能电视设备上。

有什么支持可以帮助我解决它吗?谢谢!! 我对两个项目之间的差异感到困惑,CLI是否支持电视三星项目?

BTW,电视项目和电视三星项目可以使用tizen studio在我的三星电视设备中成功构建,安装和运行。

下面是cli结果:

电视三星项目失败:

Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen create web-project -n testProject -p tv-samsung-3.0 -t BasicBasicProject -- ~/workspace_samsung/
Project Location: /Users/dennis.tsai/workspace_samsung/testProject
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen build-web -- /Users/dennis.tsai/workspace_samsung/testProject/
Build Web Application:  100% (10/10)

BUILD SUCCESSFUL

Output path : /Users/dennis.tsai/workspace_samsung/testProject/.buildresult
Excluded : [.build/*,.build,.sign/*,.sign,webUnitTest/*,webUnitTest,.externalToolBuilders/*,.externalToolBuilders,.buildresult/*,.buildresult,.settings/*,.settings,.package/*,.package,.tproject,.project,.sdk_delta.info,.rds_delta,*.wgt,.tizen-ui-builder-tool.xml]
Total time: 00:00:00.614
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen clean -- ~/workspace_samsung/testProject
web-app clean success.
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen package -t wgt -s litv -- /Users/dennis.tsai/workspace_samsung/testProject
Author certficate: /Users/dennis.tsai/Downloads/LiTVTizenKey.p12
distributor1 certificate : /Users/dennis.tsai/SamsungCertificate/litv/distributor.p12
Excludes File Pattern: {.manifest.tmp,.delta.lst}
Ignore File: /Users/dennis.tsai/workspace_samsung/testProject/.manifest.tmp
Package File Location: /Users/dennis.tsai/workspace_samsung/testProject/testProject.wgt
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen install -n testProject.wgt -t UA55RU7100WXZW -- ~/workspace_samsung/testProject/
Transferring the package...
Transferred the package: /Users/dennis.tsai/workspace_samsung/testProject/testProject.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------

Failed to install Tizen application.
Total time: 00:00:00.664

成功的电视项目:

Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen create web-project -n testProject -p tv-3.0 -t WebBasicapplication -- ~/workspace_samsung/
Project Location: /Users/dennis.tsai/workspace_samsung/testProject
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen build-web -- /Users/dennis.tsai/workspace_samsung/testProject/
Build Web Application:  100% (10/10)

BUILD SUCCESSFUL

Output path : /Users/dennis.tsai/workspace_samsung/testProject/.buildresult
Excluded : [.build/*,.tizen-ui-builder-tool.xml]
Total time: 00:00:00.528
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen clean -- ~/workspace_samsung/testProject
web-app clean success.
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen package -t wgt -s litv -- /Users/dennis.tsai/workspace_samsung/testProject
Author certficate: /Users/dennis.tsai/Downloads/LiTVTizenKey.p12
distributor1 certificate : /Users/dennis.tsai/SamsungCertificate/litv/distributor.p12
Excludes File Pattern: {.manifest.tmp,.delta.lst}
Ignore File: /Users/dennis.tsai/workspace_samsung/testProject/.manifest.tmp
Package File Location: /Users/dennis.tsai/workspace_samsung/testProject/testProject.wgt
Dennis-MacBookPro:workspace_samsung dennis.tsai$ tizen install -n testProject.wgt -t UA55RU7100WXZW -- ~/workspace_samsung/testProject/
Transferring the package...
Transferred the package: /Users/dennis.tsai/workspace_samsung/testProject/testProject.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install tALZ4lEccT.testProject
package_path /home/owner/share/tmp/sdk_tools/tmp/testProject.wgt
was_install_app return WAS_TRUE
app_id[tALZ4lEccT.testProject] install start
app_id[tALZ4lEccT.testProject] installing[10]
app_id[tALZ4lEccT.testProject] installing[12]
app_id[tALZ4lEccT.testProject] installing[15]
app_id[tALZ4lEccT.testProject] installing[17]
app_id[tALZ4lEccT.testProject] installing[20]
app_id[tALZ4lEccT.testProject] installing[22]
app_id[tALZ4lEccT.testProject] installing[25]
app_id[tALZ4lEccT.testProject] installing[27]
app_id[tALZ4lEccT.testProject] installing[30]
app_id[tALZ4lEccT.testProject] installing[32]
app_id[tALZ4lEccT.testProject] installing[35]
app_id[tALZ4lEccT.testProject] installing[37]
app_id[tALZ4lEccT.testProject] installing[40]
app_id[tALZ4lEccT.testProject] installing[42]
app_id[tALZ4lEccT.testProject] installing[45]
app_id[tALZ4lEccT.testProject] installing[47]
app_id[tALZ4lEccT.testProject] installing[50]
app_id[tALZ4lEccT.testProject] installing[52]
app_id[tALZ4lEccT.testProject] installing[55]
app_id[tALZ4lEccT.testProject] installing[57]
app_id[tALZ4lEccT.testProject] installing[60]
app_id[tALZ4lEccT.testProject] installing[62]
app_id[tALZ4lEccT.testProject] installing[65]
app_id[tALZ4lEccT.testProject] installing[67]
app_id[tALZ4lEccT.testProject] installing[70]
app_id[tALZ4lEccT.testProject] installing[72]
app_id[tALZ4lEccT.testProject] installing[75]
app_id[tALZ4lEccT.testProject] installing[77]
app_id[tALZ4lEccT.testProject] installing[80]
app_id[tALZ4lEccT.testProject] installing[82]
app_id[tALZ4lEccT.testProject] installing[85]
app_id[tALZ4lEccT.testProject] installing[87]
app_id[tALZ4lEccT.testProject] installing[90]
app_id[tALZ4lEccT.testProject] installing[92]
app_id[tALZ4lEccT.testProject] installing[95]
app_id[tALZ4lEccT.testProject] installing[97]
app_id[tALZ4lEccT.testProject] installing[100]
app_id[tALZ4lEccT.testProject] install completed
spend time for wascmd is [1762]ms
cmd_ret:0
Installed the package: Id(tALZ4lEccT.testProject)
Tizen application is successfully installed.
Total time: 00:00:02.411

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)