I am unable to install my test code on my test device by using "Run as Tizen native Application" in the Tizen IDE.
The device is model Ref.Device-210 with Tizen version 2.0.0a3.
I tried by compiling the code with both "DA-Tizen-Device" and "Debug-Tizen-Device" for the build configuration.
When I try to run the code, I get an error message saying "Cannot install application."
I see this message in the Tizen IDE console:
---
[Starting deploy process...]
[RDS] RDS mode is enabled.
[RDS] Cannot find information of the latest launch.
[Creating the package...]
[Created the package:C:\Work\Mobile\TizenWorkspace\FormBased\Debug-Tizen-Device\6K3UkRc1VG-1.0.0-arm.tpk]
[Transferring the package...]
[Transferred the package:C:\Work\Mobile\TizenWorkspace\FormBased\Debug-Tizen-Device\6K3UkRc1VG-1.0.0-arm.tpk
-> /opt/apps/PKGS/6K3UkRc1VG-1.0.0-arm.tpk]
[Installing the package...]
$ pkgcmd -l | grep 6K3UkRc1VG
debug level init 1(1)
$ pkgcmd -q -i -t tpk -p /opt/apps/PKGS/6K3UkRc1VG-1.0.0-arm.tpk; echo cmd_ret:$?;
package path is /opt/apps/PKGS/6K3UkRc1VG-1.0.0-arm.tpk
debug level init 1(1)
__return_cb req_id[1] pkg_type[tpk] pkg_name[] key[start] val[install]
__return_cb req_id[1] pkg_type[tpk] pkg_name[0000000000] key[end] val[fail]
processing request 1 failed
cmd_ret:1
(1.299 sec)
---
I also get a popup in the Tizen IDE with the following error details:
---
Cannot install application.
Error code: PACKAGE_NOT_FOUND
Error message:
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/apps/tmp/6K3UkRc1VG-1.0.0-arm.tpk
Management: Check package components in Project Explorer.
----
I also noticed that if I look at the device settings on the phone and go to "Developer options", "USB debugging" automatically turns OFF when I disconnect the phone and stays OFF when I re-connect it. If I try to turn it ON while the phone is disconnected, I get a popup saying "Connect to PC. USB debugging will be disabled automatically after use" and the setting stays OFF. If I try to turn it ON while the device is connected, I get a message in the Tizen IDE saying that the device was disconnected, the device disappears from the Connection explorer tab in the Tizen IDE and I get a message saying "There is no device to launch." if I try to start my application.
Could this be related to the problem above?
Cannot install Native App on test device