Languages

Menu
Sites
Language
Cannot install Native App on test device
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?

Responses

11 Replies
Vineet Tiwari
Are you facing this problem even when running in Emulator ? Or only on device ?
Nicolas Morin
The problem is only with the device. I can install the app on the emulator without any problem. Also I observed this problem when developing using the SDK 2.0 and it persists now that I switched to SDK 2.1. The device was and is still running Tizen 2.0.
Vineet Tiwari
did you flash ur device with latest (2.1) image?
Nicolas Morin
I would like to, but I can't find how to do it from a Windows PC. I found the following thread, but just like the OP, I find that I can't log on to the download site to get THOR for PC (I tried using my Tizen Dev username and pwd, but that didn't work). https://developer.tizen.org/forums/general-support/how-can-i-flash-tizen-2.1-image-reference-device-on-windows
Jose Regalado
Is it possible to upgrade a Tizen devic using a Windows PC or is it still an issue?
Wang
I got the same problem. It works on the Emulator, but not on the real device. It was working when I use 2.0SDK. But the 2.1 SDK requires package ID and signature. After I added the signature and package ID, I couldn't install the native app into the real device. Please help!
Nicolas Morin
I managed to upgrade the device firmware to Tizen 2.1 using a virtual Linux environment and was able to install the app after that.
Mik Thompson
I have same problem!!! What can i do to resolve this problem?
Arnaud Guyon
I had exactly the same problem. Firmware and SDK must use the same revision. I upgraded the mobile to Tizen 2.1 and then it worked.
hossein siamaknejad
 
Hi, i am using Gear S and tizen sdk Version : 1.0.0 Build id : 20140411-1445. after setting my author.crt and device-profile.xml, it gets me successfully registered my certificate! i also right clicked on my device and did "permit to install application", i got "Succeeded to upload a certificate"!!
BUT when i try to run my project in my device it gets me "Error code: SIGNATURE_INVALID"
 
any idea?
 
daniel kim

Hi,

I suggest to open your device-profile.xml which was recevied from Samsung by email and please ensure that you have correct DUID in <TestDevice> tag.

Sometimes people doesn't click '+' button when they register DUID to the device-profile.xml.