0

I want to install package from my application. For this i have to add packagemanager.install privilege. But when i try to run application i get an error:

Installing the package failed.

Error code: PRIVILEGE_LEVEL_VIOLATION

Error message: Command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/inst.wgt" Management: Refer to Help contents > Getting Started with Tizen > Overview > Privilege.

I am testing in device Gear(b8a5)

4

1 回答 1

1

This could be a problem with your signed certificate from Samsung not being present on your Gear device. You must follow the certification instructions at Help > Help Contents > Getting Started with Tizen Wearable > Development Environment > Tizen SDK for Wearable > Certificates to get a signed certificate with your Gear's DUID from Samsung.

If you have already followed these steps, it could be that you need to copy the certificate received from Samsung onto your device in the Tizen ide by selecting your debuggable device and navigating to Home > Developer and placing the certificate in there.

The certificate allows your app to be run on your physical device. It is removed from the device if you perform a factory reset.

于 2014-08-07T04:56:15.883 回答