![](https://i0.wp.com/images.pexels.com/photos/302743/pexels-photo-302743.jpeg?w=1200&ssl=1)
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.
![](https://i0.wp.com/devcodelight.com/wp-content/uploads/2024/04/imagen-25.png?resize=387%2C123&ssl=1)
Finally, restart the device.
![](https://i0.wp.com/devcodelight.com/wp-content/uploads/2023/07/cropped-light_logo-5.png?resize=100%2C100&ssl=1)