Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.SecurityException: Admin does not have android.permission.sec.MDM_APP_MGMT #200

Open
geeksville opened this issue Dec 21, 2015 · 0 comments

Comments

@geeksville
Copy link
Owner

java.lang.SecurityException: Admin  does not have android.permission.sec.MDM_APP_MGMT
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at android.hardware.usb.IUsbManager$Stub$Proxy.requestDevicePermission(IUsbManager.java:653)
at android.hardware.usb.UsbManager.requestPermission(UsbManager.java:432)
at com.geeksville.andropilot.AccessGrantedReceiver.requestPermission(AccessGrantedReceiver.scala:39)
at com.geeksville.andropilot.service.AndroidSerial$.requestAccess(AndroidSerial.scala:218)
at com.geeksville.andropilot.gui.MainActivity$$anonfun$requestAccess$2$$anonfun$apply$33.apply(MainActivity.scala:1073)
at com.geeksville.andropilot.gui.MainActivity$$anonfun$requestAccess$2$$anonfun$apply$33.apply(MainActivity.scala:1072)
at scala.collection.immutable.List.foreach(List.scala:318)
at com.geeksville.andropilot.gui.MainActivity.requestAccess(MainActivity.scala:1066)
at com.geeksville.andropilot.gui.MainActivity.onServiceConnected(MainActivity.scala:219)
at com.geeksville.andropilot.service.AndroServiceClient$$anon$1.onServiceConnected(AndroServiceClient.scala:58)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1328)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1345)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6892)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
java.lang.SecurityException: Admin  does not have android.permission.sec.MDM_APP_MGMT
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at android.hardware.usb.IUsbManager$Stub$Proxy.requestDevicePermission(IUsbManager.java:653)
at android.hardware.usb.UsbManager.requestPermission(UsbManager.java:432)
at com.geeksville.andropilot.AccessGrantedReceiver.requestPermission(AccessGrantedReceiver.scala:39)
at com.geeksville.andropilot.service.AndroidSerial$.requestAccess(AndroidSerial.scala:218)
at com.geeksville.andropilot.gui.MainActivity$$anonfun$requestAccess$2$$anonfun$apply$33.apply(MainActivity.scala:1073)
at com.geeksville.andropilot.gui.MainActivity$$anonfun$requestAccess$2$$anonfun$apply$33.apply(MainActivity.scala:1072)
at scala.collection.immutable.List.foreach(List.scala:318)
at com.geeksville.andropilot.gui.MainActivity.requestAccess(MainActivity.scala:1066)
at com.geeksville.andropilot.gui.MainActivity.onServiceConnected(MainActivity.scala:219)
at com.geeksville.andropilot.service.AndroServiceClient$$anon$1.onServiceConnected(AndroServiceClient.scala:58)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1328)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1345)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6892)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant