Scrcpy Device disconnected

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scrcpy Device disconnected

2,752 Views
Ta_exa
Contributor I

install scrcpy tool is ERROR

--> Device disconnected

Now, I have connect usb-c with pc and boot switch802 is on off.

how to fixed this problem

 

INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
C:\Users\User\Desktop\uuu_imx8mq_com_5.15.32\scrcpy-win64-... file pushed, 0 skipped. 28.2 MB/s (33622 bytes in 0.001s)
[server] INFO: Device: nxp EVK_8MQ (Android 13)
INFO: Renderer: direct3d
INFO: Initial texture: 1920x1080
WARN: Device disconnected
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at com.genymobile.scrcpy.wrappers.SurfaceControl.setDisplaySurface(SurfaceControl.java:75)
at com.genymobile.scrcpy.ScreenEncoder.setDisplaySurface(ScreenEncoder.java:216)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:86)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:55)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:76)
at com.genymobile.scrcpy.Server.main(Server.java:225)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.SurfaceControl.setDisplaySurface(SurfaceControl.java:73)
... 7 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3438)
at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2376)
... 9 more
Press any key to continue...

0 Kudos
1 Reply

2,670 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Ta_exa ,

I hope you are doing well.

One can refer to below-mentioned link for Scrcpy related issues.
 
Please make sure that any other service is not interfering with scrcpy.
 

Thanks & Regards,
Sanket Parekh

0 Kudos