语言

Menu
Sites
Language
PRIVILEGE_UNKNOWN_FAILED

Hi,

When I add the http://tizen.org/privilege/application.info privilege to my native Tizen app I'm getting this error:

Cannot install application.

Error code: PRIVILEGE_UNKNOWN_FAILED
Error message: Check tizen-manifest.xml| - Current api-version = 2.4,|   certificate signature level = public||[NO_EXIST_PRIVILEGE]| - http://tizen.org/privilege/application.info|   >> Check spelling or remove the privilege.||
Command: /usr/bin/pkgcmd -q -i -t tpk -p "/opt/usr/apps/tmp/org.example.basicui-1.0.0-arm.tpk"
Management: Using unknown privilege.

 

Why this privilege isn't recognized while it's listed here: https://www.tizen.org/ko/privilege?langredirect=1

 

 

 

 

响应

5 回复
Marco Buettner

https://developer.tizen.org/development/training/native-application/understanding-tizen-programming/security-and-api-privileges

I cant find "application.info" has native privilege ;)

Peter Wegner

According to this, you try an WEB Priv in Native App...

https://www.tizen.org/privilege

"""http://tizen.org/privilege/application.info

Allows the application to retrieve information related to other applications.
This privilege is for a Web application."""

 

Maybe this is 1 problem...

 

Best Regards

kalyl cie

Make sure that the privilege name in your app's tizen-manifest.xml file is spelled correctly and is in the correct format. Even minor differences in spelling or formatting can lead to errors.

Ohendan Ohendan

Try octordle then check the file tizen-manifest.xml.

slovenly theorize

Check that the Tizen version targeted in your manifest matches the SDK version. If you are building for an older Tizen version, it may not support newer privileges.