Languages

Menu
Sites
Language
[TV] web application created by CLI tool does not install on emulator

Hi 

 

I am developing an Tizen app using CLI tool, I am following below link to create a sample application. I am using Tizen CLI 2.4.5

https://developer.tizen.org/ko/community/tip-tech/sample-web-application-development-using-command-line-interface?langredirect=1

I followed all steps, and it does not give any error. but when I am trying to install the app on emulator it give message as failed to install on emulator. 

but same .wgt file works fine on samsung tv simulator.

I tried many ways to find a solution. then I created a sample basic app in Tizen Studio, when I run the app from IDE it runs on emulator, but when same .wgt file I try to install from CLI command it fails to install. not able to understand whats wrong.

I will be very greatful if any help provided.

 

Regards

Chary

 

 

Edited by: John Ixion on 08 Jul, 2017

Responses

2 Replies
Armaan-Ul- Islam

Hello,

So you generated author & distributor certificate and Added Security Profile Successfully, Right ??

In that case you have generated similar outputs on Terminal:

Starting certificate
-----------------------------------------------------
No path option. Will be generated on '~/cli-data/keystore/author'.
Working path: ~/cli-data/keystore/author
Generating a certificate with
  File name = certFile
  Container Password = *****
  Alias = certAuthor
  Key Password = *****
  Internal Certificates Directory = ~/tizen-sdk/tools/certificate-generator
'certFile' has been generated in '~/cli-data/keystore/author'.
-----------------------------------------------------
Finished certificate
-----------------------------------------------------
Starting add
-----------------------------------------------------
Loaded in '~/cli-data/ide/keystore/profiles.xml'.
author path: ~/cli-data/keystore/author/certFile.p12
author password: *****
distributor1 path: ~/tizen-sdk/tools/certificate-generator/certificates/distributor/tizen-distributor-signer.p12
distributor1 password: *************************
distributor1 CA path: ~/tizen-sdk/tools/certificate-generator/certificates/distributor/tizen-distributor-ca.cer

Wrote to '~/cli-data/ide/keystore/profiles.xml'.
Succeed to add 'ProName' profile.
If want to sign by this, add the file of security profiles in CLI configuration
  like 'tizen cli-config "profiles.path~/cli-data/ide/keystore/profiles.xml"'.
-----------------------------------------------------
Finished add  

 

 

And the '.wgt' is packaged with Security Profile Successfully.

 

-----------------------------------------------------
Starting package
-----------------------------------------------------
Author certficate: ~/cli-data/keystore/author/certFile.p12
Distributor1 certificate : ~/tizen-sdk/tools/certificate-generator/certificates/distributor/tizen-distributor-signer.p12
Excludes File Pattern: {.manifest.tmp, .delta.lst}
Ignore File: ~/workspace/testProject/.manifest.tmp
Package File Location: ~/workspace/testProject/testProject.wgt
-----------------------------------------------------
Finished package

 

 

If yes, then Please Share the Terminal Output for 'install' command which should be similar to this or May be containing error Code:

 

Starting install
-----------------------------------------------------
Transferring the package...
Transferred the package: ~/workspace/testProject/testProject.wgt -> /opt/usr/apps/tmp
Installing the package...
--------------------
Platform log view
--------------------
path is /opt/usr/apps/tmp/testProject.wgt
__return_cb req_id[31990002] pkg_type[wgt] pkgid[eDX93dNgkh] key[start] val[install]
__return_cb req_id[31990002] pkg_type[wgt] pkgid[eDX93dNgkh] key[install_percent] val[4]
……………………………………..
………………………………………
__return_cb req_id[31990002] pkg_type[wgt] pkgid[eDX93dNgkh] key[install_percent] val[23]
__return_cb req_id[31990002] pkg_type[wgt] pkgid[eDX93dNgkh] key[install_percent] val[100]
__return_cb req_id[31990002] pkg_type[wgt] pkgid[eDX93dNgkh] key[end] val[ok]
spend time for pkgcmd is [1046]ms
Installed the package: Id(eDX93dNgkh)
Tizen application is successfully installed.
-----------------------------------------------------
Finished instal

 

Armaan-Ul- Islam

Hello Chary b,

What's the update now? Any progress with installation?