Error SIGNATURE_INVALID after updating to SDK 2.2.1

Error SIGNATURE_INVALID after updating to SDK 2.2.1

BY 26 Nov 2013 Web Application Development

Hi!

Recently I have updated SDK to 2.2.1 (from 2.2.0 version).

Now when I launch my web application first time it’s installed without any errors as expected.

But when I launch it next time,  I’ll get error SIGNATURE_INVALID during update phase (RDS).

I already tried to generate new certificates, clean project, reset emulator, change time on emulator. No luck so far.

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: dx
    Setting application information...
      Project name: tizenwinset
      Application id: O5V1TFdT6P.tizenwinset
      Application package name: O5V1TFdT6P
      Application guid: http://yourdomain/tizenwinset
      Application path: C:/Users/anatoly/tizen-workspace/tizenwinset/tizenwinset.wgt
    Initializing the environment for launching the package succeeded.
Step > Stopping previous running widget
    Stopping previous running widget command: /usr/bin/wrt-launcher --kill "O5V1TFdT6P.tizenwinset" > /tmp/null.deployer 2>&1; echo $? 
    Waiting for stopping previous running widget...
    Stopping previous running widget succeeded.
Step > Rapid development support[RDS]
    [RDS] Pushing file "C:/Users/anatoly/tizen-workspace/tizenwinset/.build/.build9447308b2621577a/author-signature.xml" to "/opt/usr/apps/tmp/O5V1TFdT6P/res/wgt/author-signature.xml" in target.
    [RDS] Pushing file "C:/Users/anatoly/tizen-workspace/tizenwinset/.build/.build9447308b2621577a/main.js" to "/opt/usr/apps/tmp/O5V1TFdT6P/res/wgt/main.js" in target.
    [RDS] Pushing file "C:/Users/anatoly/tizen-workspace/tizenwinset/.build/.build9447308b2621577a/signature1.xml" to "/opt/usr/apps/tmp/O5V1TFdT6P/res/wgt/signature1.xml" in target.
    [RDS] Pushing file "C:\Users\anatoly\tizen-workspace\tizenwinset\.rds_delta" to "/opt/usr/apps/tmp/O5V1TFdT6P/.rds_delta" in target.
$ /usr/bin/pkgcmd -q -r -t wgt -n O5V1TFdT6P
start process (update)
.........................
error : 22

end process (fail)
processing result : SIGNATURE_INVALID [22] failed
spend time for pkgcmd is [649]ms
cmd_ret:22
    [RDS] Cannot partially upload or reinstall.
    Because the RDS failed , IDE'll try to install whole package again.
Step > Uninstalling the package
    Uninstalling the package id : O5V1TFdT6P.tizenwinset
    Uninstalling the package command : /usr/bin/pkgcmd -u -q -t wgt -n "O5V1TFdT6P"
$ /usr/bin/pkgcmd -u -q -t wgt -n "O5V1TFdT6P"
start process (uninstall)

end process (ok)
spend time for pkgcmd is [3877]ms
cmd_ret:0
    Confirm uninstall
    Confirm uninstall success
    Uninstalling the package succeeded.
Step > Transferring the package from host to target
    Repackaging is in progress before the package transfer.
    Confirm if the package file exist in local
    Transferring the package from host to target
    Transferring the package from host to target succeeded
Step > Installing the package
    Installing...
    Executing the install command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/tizenwinset.wgt"
$ /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/tizenwinset.wgt"
path is /opt/usr/apps/tmp/tizenwinset.wgt
start process (install)
........................................
icon_path : /opt/share/icons/default/small/O5V1TFdT6P.tizenwinset.png
...........................
end process (ok)
spend time for pkgcmd is [9402]ms
cmd_ret:0
$ rm -f /opt/usr/apps/tmp/tizenwinset.wgt
    Executing the install command succeeded.
    Checking for whether widget is successfully installed.
    Installing the package succeeded.
Step > Uploading delta to target
    Uploading delta to target succeeded.
Step > Running the package is started.
    Command for running: /usr/bin/wrt-launcher --start "O5V1TFdT6P.tizenwinset" --timeout="300"
    Result of the command
      result: launched
    Checking for running status
    Running the package succeeded.
Launching the Tizen web application succeeded.
(23.964 sec)

 

Thanks

Written by