650 Star 6.2K Fork 1.7K

GVPBarry / QtScrcpy

 / 详情

安卓13无线连接报错报错

待办的
创建于  
2024-01-22 22:31

可以正常投屏显示,就是当鼠标触摸(控制屏幕的时候就会出现以下报错,求解决)

"pos": {"x": 0.698667, "y": 0.597356}

AdbProcessImpl::out:[server] ERROR: Could not invoke method

AdbProcessImpl::error:java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.InputManager.injectInputEvent(InputManager.java:35)
at com.genymobile.scrcpy.Device.injectEvent(Device.java:195)
at com.genymobile.scrcpy.Device.injectEvent(Device.java:199)
at com.genymobile.scrcpy.Controller.injectTouch(Controller.java:223)
at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:98)
at com.genymobile.scrcpy.Controller.control(Controller.java:75)
at com.genymobile.scrcpy.Server$3.run(Server.java:133)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.SecurityException: Injecting input events requires the caller (or the source of the instrumentation, if any) to have the INJECT_EVENTS permission.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
at android.os.Parcel.createException(Parcel.java:2995)
at android.os.Parcel.readException(Parcel.java:2978)
at android.os.Parcel.readException(Parcel.java:2920)
at android.hardware.input.IInputManager$Stub$Proxy.injectInputEventToTarget(IInputManager.java:1294)
at android.hardware.input.InputManager.injectInputEvent(InputManager.java:1153)
at android.hardware.input.InputManager.injectInputEvent(InputManager.java:1182)
... 9 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.input.InputManagerService.injectInputEventToTarget(InputManagerService.java:916)
at android.hardware.input.IInputManager$Stub.onTransact(IInputManager.java:617)
at android.os.Binder.execTransactInternal(Binder.java:1285)
at android.os.Binder.execTransact(Binder.java:1249)

AdbProcessImpl::out:[server] ERROR: Could not invoke method

AdbProcessImpl::error:java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.InputManager.injectInputEvent(InputManager.java:35)
at com.genymobile.scrcpy.Device.injectEvent(Device.java:195)
at com.genymobile.scrcpy.Device.injectEvent(Device.java:199)
at com.genymobile.scrcpy.Controller.injectTouch(Controller.java:223)
at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:98)
at com.genymobile.scrcpy.Controller.control(Controller.java:75)
at com.genymobile.scrcpy.Server$3.run(Server.java:133)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.SecurityException: Injecting input events requires the caller (or the source of the instrumentation, if any) to have the INJECT_EVENTS permission.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
at android.os.Parcel.createException(Parcel.java:2995)
at android.os.Parcel.readException(Parcel.java:2978)
at android.os.Parcel.readException(Parcel.java:2920)
at android.hardware.input.IInputManager$Stub$Proxy.injectInputEventToTarget(IInputManager.java:1294)
at android.hardware.input.InputManager.injectInputEvent(InputManager.java:1153)
at android.hardware.input.InputManager.injectInputEvent(InputManager.java:1182)
... 9 more

update devices...
adb run
AdbProcessImpl::out:List of devices attached
192.168.1.5:5555 device

评论 (0)

start 创建了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
8397935 zygzyx 1709997835
C++
1
https://gitee.com/Barryda/QtScrcpy.git
git@gitee.com:Barryda/QtScrcpy.git
Barryda
QtScrcpy
QtScrcpy

搜索帮助

53164aa7 5694891 3bd8fe86 5694891