You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Windows 11 24H2
Device: Redmi Note 9 with Android 13
Command ran: scrcpy --new-display
Issue:
[server] ERROR: Could not create display
java.lang.SecurityException: packageName must match the calling uid
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.display.IDisplayManager$Stub$Proxy.createVirtualDisplay(IDisplayManager.java:1289)
at android.hardware.display.DisplayManagerGlobal.createVirtualDisplay(DisplayManagerGlobal.java:605)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:975)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:933)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:873)
at com.genymobile.scrcpy.wrappers.DisplayManager.createNewVirtualDisplay(DisplayManager.java:164)
at com.genymobile.scrcpy.video.NewDisplayCapture.startNew(NewDisplayCapture.java:190)
at com.genymobile.scrcpy.video.NewDisplayCapture.start(NewDisplayCapture.java:211)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:95)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.display.DisplayManagerService.createVirtualDisplayInternal(DisplayManagerService.java:1253)
at com.android.server.display.DisplayManagerService.-$$Nest$mcreateVirtualDisplayInternal(Unknown Source:0)
at com.android.server.display.DisplayManagerService$BinderService.createVirtualDisplay(DisplayManagerService.java:3158)
at android.hardware.display.IDisplayManager$Stub.onTransact(IDisplayManager.java:659)
at android.os.Binder.execTransactInternal(Binder.java:1280)
WARN: D[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.AssertionError: Could not create display
at com.genymobile.scrcpy.video.NewDisplayCapture.startNew(NewDisplayCapture.java:197)
at com.genymobile.scrcpy.video.NewDisplayCapture.start(NewDisplayCapture.java:211)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:95)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:1012)
evice disconnected
Works on my other device running Android 14.
Fix pls
The text was updated successfully, but these errors were encountered:
OS: Windows 11 24H2
Device: Redmi Note 9 with Android 13
Command ran:
scrcpy --new-display
Issue:
Works on my other device running Android 14.
Fix pls
The text was updated successfully, but these errors were encountered: