Languages

Menu
Sites
Language
PRIVILEGE_UNKNOWN_FAILED in Native Wearable. Privilege is public and for web and Native

I'm trying to deploy my app on me testing device (Gear S3) and when I try to use the privilege for

http://tizen.org/privilege/mediacontroller.client

I get the error similar to the one found in this post: https://developer.tizen.org/ko/forums/native-application-development/privilege_unknown_failed?

However, unlike the solution provided in that issue, The mediacontroller.client privilege is listed as for Native and Web, so I shouldn't be having an issue. 

Any ideas on what's going on, or how to deploy my app?

Cannot install application.

Error code: PRIVILEGE_UNKNOWN_FAILED
Error message: Check tizen-manifest.xml| - Current api-version = 3.0, |   certificate signature level = partner||[NO_EXIST_PRIVILEGE]| - http://tizen.org/privilege/mediacontroller.server|   >> Check spelling or remove the privilege.| - http://tizen.org/privilege/mediacontroller.client|   >> Check spelling or remove the privilege.||
Command: /usr/bin/pkgcmd -q -i -t "NativePkg" -p "/opt/usr/apps/tmp/org.ejhopkins.mytestapp-1.0.0-arm.tpk" -G; echo cmd_ret:$?;
Management: Using unknown privilege.

Thank you,

Eric.

Edited by: Eric Hopkins on 02 Nov, 2017

Responses

3 Replies
Yasin Ali

Hi Eric Hopkins,


Share tizen-manifest.xml of your application.
Additionally Check alignment formatting problem if exist within  tizen-manifest.xml .

Check all necessary library is properly installed from package manager also.

Thanks.

Eric Hopkins

Here i my manifest:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Eco Sans Mono'; color: #932192} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Eco Sans Mono'; color: #3933ff} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Eco Sans Mono'} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Eco Sans Mono'; color: #4e9192} span.s1 {color: #009193} span.s2 {color: #4e9192} span.s3 {color: #000000} span.s4 {color: #3933ff} span.s5 {color: #932192}

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.ejhopkins.mytestapp" version="1.0.0">
    <profile name="wearable"/>
    <ui-application appid="org.ejhopkins.mytestapp" exec="mytestapp" multiple="false" nodisplay="false" taskmanage="true" type="capp">
        <label>mytestapp</label>
        <icon>mytestapp.png</icon>
    </ui-application>
    <privileges>
        <privilege>http://tizen.org/privilege/mediacontroller.client</privilege>
        <privilege>http://tizen.org/privilege/mediacontroller.server</privilege>
    </privileges>
</manifest>

I'm pretty sure I have all the correct packeges installed. I have all of the Wearable ones installed along with the Tizen SDK tools and the Samsung Certificate and Wearables extensions.

The only strange thing I notice in my manifest is this warning (which isn't reported in the issue tracker, and only shows in the side-bar while viewing the manifest): No grammar constraints (DTD or XML Schema) referenced in the document.

 

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; text-indent: 0.1px; font: 11.0px '.SF NS Text'}
Yasin Ali

Check API version of your Gear S3 device. I think its  API  version conflict.

api-version="3.0"

it is in the manifest. Check device api level. Both should be matched .