语言

Menu
Sites
Language
Questions about how to set up package.

I am currently in development of the app that is packaging two projects in one app.
In the process of packaging two different projects in one, the error occurs repeatedly.

Each time, different error occurs. ("Failed to install application" or "Failed to register on Tizen market.")

When packaging the two projects that 'UI app' and 'Service app',
how that can be created without error?

Please let me know.

Thank you.

响应

1 回复
youngsik yoon

you need to set project reference between ui app and service app. then service app will be packaged into ui app.

please refer to 

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fsample_descriptions%2Fmultiprocess_package.htm

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fapp_dev_process%2Fmultiple_project_dev_package.htm

if they are packged together, they will use the same package-id. it means service app has the same package-id as ui app.

so when you launch your service app from ui app, you need to specify the same package-id as ui app in your code.