Michael Schultz
Aug 06, 2019
5:21 pm

ELM license, Admin does not have android.permission.sec.MDM_APP_MGMT

Testing device: Galaxy s8+ with Android 9.

Knox license: commercial ELM license.

 

The license successfully got activated. My app tried to call method: setApplicationComponentState, but it got this exception:  Admin  does not have android.permission.sec.MDM_APP_MGMT OR com.samsung.android.knox.permission.KNOX_APP_MGMT.

I have permission in the manifest like this:

<uses-permission android:name="com.samsung.android.knox.permission.KNOX_APP_MGMT"/>

I don't understand why the problem is.

Thanks in advanced!