언어 설정

Menu
Sites
Language
Cannot update app from 2.2 to 2.4 because of wrong package id

Hi,

I have one app developed using SDK 2.2 and this app is in Tizen Store since almost 3 years. I would like to update this app with the newest API. In Tizen 2.2 PackageID had different format: "g4dybdKmdi", now in 2.4 is "org.example.app". To be able to update app, package id must be the same so I had to use "g4dybdKmdi" in Tizen 2.4.

Problem is that app is not running on the device with such package id.

Logs:

02-03 18:21:03.516 : ERROR / RESOURCED ( 681 : 681 ) : block.c: block_prelaunch_state(134) > insert data g4dybdKmdi, table num : 8
02-03 18:21:03.516 : ERROR / RESOURCED ( 681 : 681 ) : heart-memory.c: heart_memory_get_data(601) > hashtable heart_memory_app_list is NULL
02-03 18:21:03.536 : ERROR / CAPI_APPFW_APPLICATION ( 10035 : 10035 ) : app_error.c: app_error(63) > [app_get_package_app_name] INVALID_CONTEXT(0xfef00001)
02-03 18:21:03.536 : ERROR / CAPI_APPFW_APPLICATION ( 10035 : 10035 ) : app_error.c: app_error(59) > [ui_app_main] INVALID_CONTEXT(0xfef00001) : failed to get the package's app name
02-03 18:21:03.536 : ERROR / my_new_app_name( 10035 : 10035 ) : app_main() is failed. err = -17825791
02-03 18:21:03.616 : ERROR / AUL_PAD ( 1559 : 1559 ) : launchpad.c: __send_result_to_caller(282) > error founded when being launched with 10035
02-03 18:21:03.616 : ERROR / AUL_PAD ( 1559 : 1559 ) : launchpad.c: __send_result_to_caller(284) > The app process might be terminated while we are wating 10035
02-03 18:21:03.616 : ERROR / AUL_PAD ( 1559 : 1559 ) : launchpad.c: __send_result_to_caller(314) > process launched, but cmdline not changed
02-03 18:21:03.616 : ERROR / AUL ( 605 : 605 ) : amd_app_group.c: app_group_start_app(1037) > app_group_start_app
02-03 18:21:03.616 : ERROR / RESOURCED ( 681 : 681 ) : proc-main.c: proc_add_program_list(237) > not found ppi : g4dybdKmdi

Do you know how to solve this problem and update app from 2.2 to 2.4?

Edited by: Kamil N on 03 2월, 2017

Responses

8 댓글
Yasin Ali

Hi~,

You may contact here

https://help.content.samsung.com/csweb/ticket/createQuestionTicket.do

for detailed help.

Kamil N

Hi Yasin,

thanks for you answer. I sent question to tizenstore support. But their answer is professional like always...

Regarding your inquiry, we would like to inform you that the Package ID used for the Tizen Store is a unique reference value to identify an application and can be viewed in the “Mainfest.xml file or “Config.xml” file within the binary file.

If you are trying to update an existing application, use the Package ID used for the initial binary file.

Furthermore, if you need technical assistance with Package ID, please check out relevant information at Tizen Developers site (https://developer.tizen.org/) where you can find application development guides, raise inquiries at its Forums and discuss with other developers.

 

So I renew my question: Is it possible to use package id from tizen 2.2 app and run on 2.4?

Thanks!

Marco Buettner

org.example.app looks like native app ... while your previous version maybe was a webapp?

Kamil N

No, it was native app written in Tizen 2.2

junsuk oh

Hi All

Is it possible to use package id from tizen 2.2 app and run on 2.4?

==> Yes, it is. But there is a limitation regarding package type and package id are same.

 

If update is finished without any error in case of previous package on 2.2 is osp type and post package  on 2.4 is native type

package-manager cannot guarantee the motion of the application.

Because each package has own file system and use different api

So update has to be accomplished within same package type.

 

 

 

Kamil N

Hi junsuk,

I used same package for Tizen 2.4 as for was for 2.2

g4dybdKmdi

but after that I got error and cannot run app on the device (more logs on the top of thread):

 

02-03 18:21:03.536 : ERROR / CAPI_APPFW_APPLICATION ( 10035 : 10035 ) : app_error.c: app_error(59) > [ui_app_main] INVALID_CONTEXT(0xfef00001) : failed to get the package's app name

 

 

Marco Buettner

Ok, afaik I read you cant update your application ... While the format was changed with Tizen 2.3 (SDK)... Before Tizen 2.3 your could write your application with OSP (bada Extension) ... With 2.3 the native application framework doesnt support OSP anymore and your application have to write in c (or native c++) ...

I think your have to completly re-submit your application :/

Kamil N

I found that package id must have at least on dot (.) package id g4dybdKmdi doesn't work but g4dyb.dKmdi works. However it doesn't solve my problem because I need to use old package id without dot g4dybdKmdi