installing package fail on real device

installing package fail on real device

BY 16 Aug 2013 Web Application Development

After i tested my web app on the real device, I got the error message. 

This web app works on the emulator and simulator. But I could not run this on the device. 

I checked the device on the connection explorer, then chooose it. 

After runninga as Tizen Web application, I got this error message. 

I also see Test.wgt on Project explorer.

 

My error log is as follows:

——————————————-

Starting to launch the Tizen web application.

Step > Initializing the environment for launching the package

    Setting the default context…

    Setting the target information…

      Target device name: device-1

    Setting application information…

      Project name: Test

      Application id: hM7R2fvd1I.Test

      Application package name: hM7R2fvd1I

      Application guid: http://yourdomain/Test

      Application path: /Users/aaa/workspace/Tizen/Test/Test.wgt

    Initializing the environment for launching the package succeeded.

Step > Transferring the package from host to target

    Confirm if the package file exist in local

    Transferring the package from host to target

    Transferring the package from host to target succeeded

Step > Stopping previous running widget

    Stopping previous running widget succeeded.

Step > Installing the package

    Installing…

    Executing the install command: /usr/bin/pkgcmd -i -q -t wgt -p “/opt/apps/tmp/Test.wgt”

$ /usr/bin/pkgcmd -i -q -t wgt -p “/opt/apps/tmp/Test.wgt”

package path is /opt/apps/tmp/Test.wgt

debug level init 1(1) 

start process (install)

……..

end process (fail)

processing request 1 failed

cmd_ret:1

Exception occur…

Unexpected stop progress…

(2.78 sec)

============================

Installing the package failed.

Error code: PACKAGE_NOT_FOUND

Error message: 

Command: /usr/bin/pkgcmd -i -q -t wgt -p “/opt/apps/tmp/Test.wgt”

Management: Check package components in Project Explorer.

===========================

My device’s version is Tizen 2.0.0a but I downloaded Tizen sdk 2.2. So I changed tizen required version of my app config file into 2.0. 

How can I fix this problem? Please let me know. 

 

Thanks.

 

 

Written by