언어 설정

Menu
Sites
Language
Cannot install plain basic_ui application

Hi,

I'm in trouble to install native application to emulator, using command line interface on Ubuntu.

I have created a basic_ui project as:

$ tizen create native-project -p mobile-2.3 -t basic_ui -n test

And then built it and created the package:

$ cd test
$ tizen build-native -a x86 -c llvm -C Debug
$ cd Debug
$ tizen package -t tpk

I got the package file org.tizen.test-1.0.0-i386.tpk.

When I tried to install it, I got the following error:

$ tizen install -n org.tizen.test-1.0.0-i386.tpk
-------------------------------------------------
Starting install
-------------------------------------------------

Transferring the package...
Transferred the package: /home/yoshino/projects/test/Debug/org.tizen.test-1.0.0-i386.tpk -> /opt/usr/apps/tmp
Installing the package...
Failed to install Tizen application.
-------------------------------------------------
Finished install

Total time: 00:00:03.460

The error message is not helpful. What's wrong?

답변 바로가기

Responses

5 댓글
Alex Dem

Hi, 
just fyi:
I was able to install any package (but built with IDE not with CLI) this way (for sdk 2.3.0 rev2  win7-64),
I have used 'tizen install -n'
Alexey.

Alex Dem

Maybe you have missed something during 'tizen-package' step.
I assume you should add your security profile with option: -s
Alexey.

Nobuhiko Yoshino

Thank you Alex!

You are right, I forgot to specify any security profiles to make tpk file. I have specified it:

$ tizen package -t tpk -s myprofile

However, installing is still failed...:

$ tizen install -n org.tizen.test-1.0.0-i386.tpk
-----------------------------------------------------
Starting install
-----------------------------------------------------

Transferring the package...
Transferred the package: /home/yoshino/projects/test/Debug/org.tizen.test-1.0.0-i386.tpk -> /opt/usr/apps/tmp
Installing the package...
Failed to install Tizen application.
-----------------------------------------------------
Finished install

Total time: 00:00:03.574

How can I check the reason of error?

Mark as answer
Alex Dem

Hi,
Yes, 'failed to install' is not helpful error message.
Try to install your tpk using 'sdb install' :

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.gettingstarted/html/dev_env/commands.htm
Maybe you will get  some additional info in this case.
Alexey.

Nobuhiko Yoshino

The sdb command output some messages and I found a problem in signatures.

Thanks a lot, Alexey!!