Open lalitmendhule opened 2 years ago
had same issue. enable "disable permission monitoring" in developer options. fixed it for me.
You can push the apk file to device sdcard directory or some directory else. The install the apk file with handle operation.
Exception occurred while executing 'set': java.lang.SecurityException: uid 2000 does not have android.permission.MANAGE_APP_OPS_MODES. at android.app.ContextImpl.enforce(ContextImpl.java:2186) at android.app.ContextImpl.enforcePermission(ContextImpl.java:2195) at com.android.server.appop.AppOpsService.enforceManageAppOpsModes(AppOpsService.java:2560) at com.android.server.appop.AppOpsService.setMode(AppOpsService.java:2829) at com.android.server.appop.AppOpsService.setMode(AppOpsService.java:2824) at com.android.server.appop.AppOpsService.onShellCommand(AppOpsService.java:5565) at com.android.server.appop.AppOpsService$Shell.onCommand(AppOpsService.java:5334) at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97) at android.os.ShellCommand.exec(ShellCommand.java:38) at com.android.server.appop.AppOpsService.onShellCommand(AppOpsService.java:5506) at android.os.Binder.shellCommand(Binder.java:970) at android.os.Binder.onTransact(Binder.java:854) at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:1198) at com.android.server.appop.OplusAppOpsService.onTransact(OplusAppOpsService.java:38)