Languages

Menu
Sites
Language
Tizen for Wearable: suddenly PACKAGE_NOT_FOUND

Been trying to troubleshoot this issue the last couple days but it is very strange. All of a sudden, all of my projects in Tizen for Wearables won't launch on my Galaxy Gear 2 when I want to test. They all yield this message in the console:

Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in 'C:\tizen-wearable-sdk-data\ide\logs/ide-20140620_094915.log'.

[Initializing the launch environment...]
    RDS: Off
    Target information: SM-R380
    Application information: Id(nGJYXxlDUO.HelloGearConsumer), Package Name(nGJYXxlDUO), Project Name(HelloGearConsumer)
[Transferring the package...]
    Transferred the package: C:\tizen\workspace\HelloGearConsumer\HelloGearConsumer.wgt -> /opt/usr/apps/tmp
[Stopping running application...]
[Uninstalling the package...]
processing result : PACKAGE_NOT_FOUND [1] failed
spend time for pkgcmd is [87]ms
cmd_ret:1
Unexpected stop progress...
(5.787 sec)

This is accompanied by this window message:

Uninstalling the package... > Fail

Error code: PACKAGE_NOT_FOUND
Error message: 
Command: /usr/bin/pkgcmd -u -q -t wgt -n "nGJYXxlDUO"
Management: Check package components in Project Explorer.

I have tried using with RDS on, but the same result occurs. The one workaround I have found is that if I create a new project with the same contents but different package name, then it will work.

I looked around the forums for a similar issue but the only one I could find was not for Wearables so I figured that this problem was unique. Has anyone had this issue with this scenario and managed to fix it and/or prevent it?

Responses

2 Replies
Amanda Brito

Try delete the line: <tizen:application id="xxxxx.Craftjs" package="xxxxxx" required_version="2.2"/>  of config.xml file and then save it again, this way it will be generated a new id for your app. It worked for me.

Alex Dem

Hi,
You could open config.xml->Tizen tab and click 'generate' button simply (without deleting).
Alexey.