语言

Menu
Sites
Language
Error while installing tpk file on ARM platform -"processing result : Unknown Error [143] failed"
All.,
 
Trying to install native apps on ARM platform running Tizen 2.2 (Mobile Version).
 
I created native app "HelloWorld", Altered  build configuration, "Select Project and right click"->Properties->C/C++ Build ->Tizen Settings --> Architecture : ARMv7-a"  and did build packaging (.tpk) generated.While installing tpk from sdb shell , Getting Following error. Any Suggestion ?
 
-sh-4.1# pkgcmd -q -i -t tpk -p ui1mIH3Ktl-1.0.0-arm.tpk
path is /data/ui1mIH3Ktl-1.0.0-arm.tpk
__return_cb req_id[1] pkg_type[tpk] pkgid[ui1mIH3Ktl] key[start] val[install]
__return_cb req_id[1] pkg_type[tpk] pkgid[ui1mIH3Ktl] key[install_percent] val[]
__return_cb req_id[1] pkg_type[tpk] pkgid[ui1mIH3Ktl] key[install_percent] val[]
__return_cb req_id[1] pkg_type[tpk] pkgid[ui1mIH3Ktl] key[error] val[143]
__return_cb req_id[1] pkg_type[tpk] pkgid[ui1mIH3Ktl] key[end] val[fail]
processing result : Unknown Error [143] failed
spend time for pkgcmd is [6205]ms
 
TIA - Ganesh Kumar R.
编辑者为: Ganesh Kumar R 04 9月, 2013

响应

20 回复
Renat Nyazhemetdinov
Hi! I'm not sure, but this may be certificate issue. Try to synchronize time between host and target.
Ganesh Kumar R
Hi! Renat., Thanks for your response. Initially, I was getting " " CERTIFICATE_CHAIN_VERIFICATION_FAILED [33] failed" " error. After setting up the date & time on the target . This Certificate error got resolved. After setting the current data & time am getting above error. Please assist me any other possible way to resolve my issue. Thanks., Ganesh Kumar R.
Pushpa G
Hi Ganesh, If you already have Helloworld app in device , uninstall it and try the above procedure freshly
Ganesh Kumar R
Hi! Pushpa., Till now,I am not able to install any native app in device. This is my first hello world app trying to install on the arm device. Am able to install app on the emulator. Thanks., Ganesh Ram.
Ganesh Kumar R
Hi! Pushpa., Till now,I am not able to install any native app in device. This is my first hello world app trying to install on the arm device. Am able to install app on the emulator. Thanks., Ganesh Ram.
Alex Dem
Hi, Could your app be installed and launched on emulator? If yes maybe it is driver/device error. Alexey.
Ganesh Kumar R
HI! Alex, Yeah! Am successfully able on emulator. Since I build for ARMv7-a Architecture am unable not able launch on emulator. I observed another setting under Tizen Settings --> Tool Chain --> LLVM 3.1 / GCC 4.5 . Is this settings does any impact ? Thanks, Ganesh Kumar R.
Renat Nyazhemetdinov
Well... What version of SDK do you use? And what version of firmware (where did you get it from)?
Renat Nyazhemetdinov
Additionally: could you try install it using the following command: /tools/sdb.exe -d install /your_app.tpk
Ganesh Kumar R
Hi! Renat, Am using 2.2.0 SDK version to create native app & build packaging. Firmware : We are using OMAM 5 Linux Kernal 3.8 and 2.2 latest tizen code downloaded from https://review.tizen.org/git/ Any permission need to be added in kernel ? Also , My device does not have sdb interface. pkgcmg am trying to execute from device terminal. Any help ?
Renat Nyazhemetdinov
Could you share more details about your target? Your problem is similar to this one: http://bugs.yoyogames.com/view.php?id=12192
Ganesh Kumar R
Yeah ! Perfect. My Problem is Similar to this. What might be fix at signing and driver side ? My Target details : OMAP5 (ARM platform) running Tizen 2.2 (Mobile version) Any assist ?
Renat Nyazhemetdinov
There's still lack of details. Ok. Run pkgcmd -h command and try some of them. For example, uninstallation of any package or something. Maybe some command will show you an error that will help you to identify the reason of your initial problem.
Alex Dem
It is just different compilers (I am using LLVM). I think It should not be the cause of installation error. But try to set explicitly "Architecture/Name" for your project (X86 to build for emulator and ARMv7 for device) and perform clear/build of your project every time to get different tpk files. Alexey.
Ganesh Kumar R
Hi! Alex., What you mean set explicitly "Architecture/Name" for your project ? I did "Select Project and right click"->Properties->C/C++ Build ->Tizen Settings --> Architecture : ARMv7-a" Is it same ? or Is there any other way to set explicitly ?
Alex Dem
It is the same. Alexey.
Kamil N

Did anyone find solution for this? I was working normally and after one run I get following messages:

 

[Installing the package...]
$ /usr/bin/pkginfo --pkg 5RaZwiCjXI | grep -i Removable
$ /usr/bin/pkgcmd -l  | grep 5RaZwiCjXI
$ /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/5RaZwiCjXI-1.0.0-arm.tpk
path is /opt/usr/apps/tmp/5RaZwiCjXI-1.0.0-arm.tpk
start process (install)
..
error : 143

end process (fail)
processing result : Unknown Error [143] failed
spend time for pkgcmd is [2775]ms
cmd_ret:143
(12.096 sec)

Alex Ashirov

Hi,

Do you observe the issue permanently or only once? Is the issue reproduced after phone restart?

Kamil N

I observed issue permanently. Everything was ok and then it happened. I tested on different PC witch installed SDK and is the same (previously everything was working) I think that something is wrong with the device. 

Kamil N

Problem solved after re-flashing the device.