语言

Menu
Sites
Language
Deploy Web App to TV device or Emulator using CLI for a CI integration

Hello,

im trying to deploy a web app to a TV device using the CLI. Ive managed to do it using the IDE but is not working with the CLI. Ill list the commands ive been trying:

jfr07$ sdb -e install ssproto.wgt
closed

jfr07$ tizen version
Tizen CLI 1.2.3

 

jfr07$ tizen install -t 10.241.10.58:26101 -n ssproto.wgt -- ~/workspace/tizent/ssproto/
-----------------------------------------------------
Starting install
-----------------------------------------------------

Transferring the package...
Transferred the package: /Users/workspace/tizent/ssproto/ssproto.wgt -> /opt/usr/apps/tmp
Installing the package...
--------------------
Platform log view
--------------------

Failed to install Tizen application.
-----------------------------------------------------
Finished install

Total time: 00:00:02.199

Results are similar for emulator and TV Device.

Can anyone help?
 

响应

1 回复
Armaan-Ul- Islam

Hello,

Possibly the issue could be with certification.

 

Have you tried to generate a certificate..

 $ tizen certificate -a YourAlias -p 123456 -f YourCert

for implementation details : https://developer.tizen.org/development/tools/web-tools/command-line-interface#mw_certificate

 

then add new security profile..

 $ tizen security-profiles add -n YourProfile -a ~/tizen-sdk-data/keystore/author/YourCert.p12 -p 123456

for implementation details : https://developer.tizen.org/development/tools/web-tools/command-line-interface#mw_securityprofiles

 

And finaly clean the project then build

 $ tizen clean -- ~/workspace/tizent/ssproto/
$ tizen build-web -- ~/workspace/tizent/ssproto/

 

Now try Installing Again.

Thank you.