언어 설정

Menu
Sites
Language
PRIVILEGE_LEVEL_VIOLATION

Hi,

I am developing an Integrated Type Samsung Gear 2 app. This app communicates with the companion app running in the android device. I have the code ready for Gear app and Android app, when I make the privilege changes for accessoryprotocol, app will not install on the Gear device.

This being an Integrated app, I have exported certificates from the android keystore and submitted to Samsung for signing. After receiving the signed / encrypted xml back I was able to decrypt the xml file. While installing the certificate in IDE it gives error “Registration Failed because of unknown reasons”. According to the documentation I followed the workaround to copy the decrypted certificate (certificate-registration.xml) to the wearable device directly by copying the file under /home/developer. While running the app from IDE it still gives the same error of Privilege Level Violation. 

Checking the device logs it says 

05-27 13:31:03.907 : ERROR / W-LAUNCHER ( 408 : 408 ) : pkgmgr.c: _start(444) > [_start:444] (_exist_request_in_list(package)) -> _start() return
05-27 13:31:03.907 : ERROR / W-LAUNCHER ( 408 : 408 ) : pkgmgr.c: _pkgmgr_cb(638) > [_pkgmgr_cb:638] pkgmgr_cbs[0].func has errors.
05-27 13:31:04.187 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service-process.c: _search_certificate(1412) > [ERR][_search_certificate] Cannot find any certificate you want.
05-27 13:31:04.187 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service.c: cert_svc_search_certificate(228) > [ERR][cert_svc_search_certificate] Fail to search sertificate.
05-27 13:31:04.522 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service-process.c: _search_certificate(1412) > [ERR][_search_certificate] Cannot find any certificate you want.
05-27 13:31:04.522 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service.c: cert_svc_search_certificate(228) > [ERR][cert_svc_search_certificate] Fail to search sertificate.
05-27 13:31:04.897 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service-process.c: _search_certificate(1412) > [ERR][_search_certificate] Cannot find any certificate you want.
05-27 13:31:04.897 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service.c: cert_svc_search_certificate(228) > [ERR][cert_svc_search_certificate] Fail to search sertificate.
05-27 13:31:05.297 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service-process.c: _search_certificate(1412) > [ERR][_search_certificate] Cannot find any certificate you want.
05-27 13:31:05.297 : ERROR / CERT_SVC ( 31246 : 31246 ) : cert-service.c: cert_svc_search_certificate(228) > [ERR][cert_svc_search_certificate] Fail to search sertificate.
05-27 13:31:05.652 : ERROR / W-LAUNCHER ( 408 : 408 ) : pkgmgr.c: _end(547) > [_end:547] (strcasecmp(val, "ok")) -> _end() return
05-27 13:31:05.652 : ERROR / W-LAUNCHER ( 408 : 408 ) : pkgmgr.c: _pkgmgr_cb(638) > [_pkgmgr_cb:638] pkgmgr_cbs[6].func has errors.

It seems device is not able to find the certificate in the right path.

Can someone please help me resolve this issue?  It may be a small step I am missing in the flow.

Thanks for the help

Responses

2 댓글
sunil sunny

https://developer.tizen.org/forums/general-support/cannot-deploy-tizen-application-over-tizen-gear2-device

daniel kim

Hi,

You can find the description how to generate the certificate what you need in Help page of Wearable SDK.

 Getting Started with Tizen Wearable > Development Environment > Tizen SDK for Wearable