언어 설정

Menu
Sites
Language
Cannot run on device

Hi, 

i'm trying to run a sample application on real device. But i'm always getting this error: 

"The application installation on the device has failed due to a signature error! (error code -12)"

 

But i created the certificate. This is the screenshot of the certificate i made: 

I tried to do as outlined in this post:  https://developer.tizen.org/forums/native-application-development/signature-error but i can't find the Permit to install apps option anywaer in Connection Explorer. 

I'm using tizen studio 1.2 on mac os x. 

 

답변 바로가기

Responses

7 댓글
Yasin Ali

Hi,

To give permission, right-click a device displayed in the Connection Explorer view and select Permit to install applications. As a result of this step, a device-profile.xml, which is issued in your profile directory is pushed to the /home/developer directory of the device.

Check below link for details

http://developer.samsung.com/gear/develop/getting-certificates/permit

Hope it will help you.
If you find my post is helpful for you, please mark it as answer to promote this post to others.

Ivan Gualandri

Hi Yasin, 

i would be happy to do it, but can you tell me exactly where is that option? this is my device menu:

I tried properties, but nothing is ther about installing applications.

 

Ivan Gualandri

Yasin, 

no it doesn't resolve my problem. 

I went through all the basic tutorials. But i can't manage to run the application on the real device. 

So i have the certificate above (in my first post). 

This is the error message:

Checking the  device log this is the error:

pkgmgrinfo_pkginfo.c: _pkgmgrinfo_get_pkginfo(709) > pkginfo for [org.example.basicuitest] is not existed for user [376]
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=install_percent VALUE=10
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=install_percent VALUE=10
pkgmgrinfo_pkginfo.c: _pkgmgrinfo_get_pkginfo(709) > pkginfo for [org.example.basicuitest] is not existed for user [5001]
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=install_percent VALUE=13
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=install_percent VALUE=13
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=install_percent VALUE=17
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=install_percent VALUE=17
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=install_percent VALUE=20
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=install_percent VALUE=20
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=install_percent VALUE=24
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=install_percent VALUE=24
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=error VALUE=-12:Non trusted certificate is used. Register valid certificate:<-32>
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=error VALUE=-12:Non trusted certificate is used. Register valid certificate:<-32>
pkgmgr_signal.cc:189                 : Success to send pkgmgr signal PKGID=org.example.basicuitest KEY=end VALUE=fail
pkgmgr_signal.cc:214                 : Success to send pkgmgr signal USER=5001 PKGID=org.example.basicuitest KEY=end VALUE=fail

 

The build configuration that i have active is: Debug

I don't have idea on how to proceed, i tried to follow the documentation, but apparently it doesn't help me fixing that problem. 

Again: i created the certificate as you can see in my screenshot.

The phone is a Samsung Z4

I'm running on tizen studio 1.2 on mac os x.

Yasin Ali

I think you may try with a different device sample. May be its a firmware issue.

API version mismatch also should be checked.

 

yongheon shin

Could you let me know which device you are using? 

If you work with Samsung real device like as Z3 or Z4, you have to issue Samsung Certificates and use them.

Please refer : http://developer.samsung.com/z/develop/getting-certificates

Mark as answer
Ivan Gualandri

Hi, 

finally i figured out what was the problem. 

As stated above, was that i needed the samsung certificate to be created.

The problem is that the samsung certificate package is not installed by default, and i was following tht guide:

https://developer.tizen.org/development/tizen-studio/native-tools/managing-projects/certificate-registration

That doesn't mention anything about installing that package.