rom1v / sndcpy

Android audio forwarding (scrcpy, but for audio)
MIT License
3.29k stars 303 forks source link

Exception occurred while executing 'set': #253

Open Pulkit-Py opened 1 year ago

Pulkit-Py commented 1 year ago

This is the error i recicve

Waiting for device 9TJJ8DDAFUHYVKSW... Performing Streamed Install Success

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:2073) at android.app.ContextImpl.enforcePermission(ContextImpl.java:2082) at com.android.server.appop.AppOpsService.enforceManageAppOpsModes(AppOpsService.java:2214) at com.android.server.appop.AppOpsService.setMode(AppOpsService.java:2487) at com.android.server.appop.AppOpsService.setMode(AppOpsService.java:2482) at com.android.server.appop.AppOpsService.onShellCommand(AppOpsService.java:4822) at com.android.server.appop.AppOpsService$Shell.onCommand(AppOpsService.java:4591) at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98) at android.os.ShellCommand.exec(ShellCommand.java:44) at com.android.server.appop.AppOpsService.onShellCommand(AppOpsService.java:4763) at android.os.Binder.shellCommand(Binder.java:936) at android.os.Binder.onTransact(Binder.java:820) at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:1055) at android.os.Binder.execTransactInternal(Binder.java:1166) at android.os.Binder.execTransact(Binder.java:1130)

kryptt commented 1 year ago

I have the same issue

Pulkit-Py commented 1 year ago

Did you find any solution?

Speykious commented 1 year ago

See #234, disabling permission monitoring fixes the issue. (I got the same issue and it fixed it for me as well)