When using the SCRCPY program to screen share with our device, you may encounter the error:
java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission
To solve this, you’ll need to do the following:
- Go to Developer Options > USB Debugging (Security Settings).
You must enable this option.
Finally, restart the device.