语言

Menu
Sites
Language
FATAL_ERROR while trying to run web-app on target device

Hello

I'm using Tizen IDE version 2.3.0_Rev1 and  target device has Tizen 2.3.0.0

The error that I am facing while trying to run the app on target is:

Error code: FATAL_ERROR
Error message: 
Command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/test.wgt"
Management: Installation or uninstallation is not working temporarily.

 

I followed the earlier topics quoting same error and tried the solutions such as deleting .metadata file and then importing the projects, cleaning and rebuilding the project, ensuring date time and region match, but nothing worked.

I re-installed the IDE and tried to build and run a sample app, but not successful.

The same works fine if I try to run it on an emulator instance.

Are there any device specific settings that need to be made for a target device?

Thanks in advance.

响应

10 回复
Alex Ashirov

Hi,

If you have z1 device then you need to do the following:

http://www.tizenexperts.com/2015/01/developer-enable-developer-usb-debugging-mode-tizen-samsung-z1-sm-z130hds/

Navjot Singh Cheema

Hello Alex,

Thanks for the prompt reply.

Yes, I am using a Z1 device, and I have enabled the USB debugging option.

The device is shown in the connection explorer. But when I choose to run the webapp, it shows the FATAL_ERROR.

For more info, following is the console log:

[Transferring the package...]
    Transferred the package: wgt stream -> /opt/usr/apps/tmp/test.wgt
[Installing the package...]
path is /opt/usr/apps/tmp/test.wgt

end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [895]ms
cmd_ret:61
Unexpected stop progress...
(3.833 sec)

 

I did a restart of the Z1 device as well after enabling the USB debugging option, but the problem persists.

colin Rao

Strange! Is it possible that the version between the SDK and the Device are difference.

AVSukhov

Hello,

 

Please verify Required version in config.xml

Jeff Cicale
I wish I had asked the question here a few days ago...I had to change the version number in config.xml to 2.1 in order for it to push to the device.
Navjot Singh Cheema

Tried changing version number to 2.1, 2.2, 2.3. Sadly, nothing has worked till now.

Are you using a Z1 device for which you had to set the config.xml to 2.1 to push the app to the device?

Thanks.

Jeff Cicale
My apologies....I missed that. (I have a Gear 2 and Gear 2 Neo)
Navjot Singh Cheema

Hello,

For now I'm trying by keeping the required version as 2.3 for Z1 device. But the problem persists.

There is another noticeable log:

ERROR / APP_CORE ( 15575 : 15575 ) : appcore-efl.c: appcore_efl_main(1576) > aul_app_get_appid_bypid fail

ERROR / PKGMGR_INFO ( 15575 : 15575 ) : pkgmgrinfo_appinfo.c: pkgmgrinfo_appinfo_get_appinfo(1347) > (appid == NULL) appid is NULL

while the console shows:

Application information: Id(8V3bvaLt8W.test), Package Name(8V3bvaLt8W), Project Name(test)

 

Thanks

Alex Ashirov

Hello,

Are you trying to install SDK sample or your own application?

Navjot Singh Cheema

I have been trying both. For now I'm trying with SDK sample.

Thanks.