Hello all, i have been reading the various threads about this, and might as well have been reading in Vulcan (in which language i do not even have holiday phrases).
Some months ago, i got this app working fine, just plug in, type the magic letters into Konsole, and up comes the screen.
i haven't used it for some time until today, when i cannot get access. the Konsole result is as follows:
keithmedion@keithMedion-H61H2-LM3:~$ scrcpy
INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
/usr/share/scrcpy/scrcpy-server: 1 f...ed. 0.6 MB/s (34012 bytes in 0.054s)
[server] INFO: Device: samsung SM-A526B (Android 12)
INFO: Renderer: opengl
INFO: OpenGL version: 3.0 Mesa 21.2.6
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2400
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.setD isplaySurface(S
urfaceControl.java:75)
at com.genymobile.scrcpy.ScreenEncoder.setDisplaySurf ace(ScreenEncod
er.java:243)
at com.genymobile.scrcpy.ScreenEncoder.internalStream Screen(ScreenEn
coder.java:91)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(S creenEncoder.ja
va:60)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:80 )
at com.genymobile.scrcpy.Server.main(Server.java:252)
at com.android.internal.os.RuntimeInit.nativeFinishIn it(Native Metho
d)
at com.android.internal.os.RuntimeInit.main(RuntimeIn it.java:374)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.SurfaceControl.setD isplaySurface(S
urfaceControl.java:73)
... 7 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
at android.view.SurfaceControl$Transaction.setDisplay Surface(Surface
Control.java:3370)
at android.view.SurfaceControl.setDisplaySurface(Surf aceControl.java
:2344)
... 9 more
WARN: Killing the server...
keithmedion@keithMedion-H61H2-LM3
i have been into Developer Options on my Samsung A52 with Android 12, and USB debugging is on. The phone asks permission to share data, accept, and then the above.
Can anyone with more knowledge than me (and that means everyone on the Forum) tell me how to proceed?
Keith M
Some months ago, i got this app working fine, just plug in, type the magic letters into Konsole, and up comes the screen.
i haven't used it for some time until today, when i cannot get access. the Konsole result is as follows:
keithmedion@keithMedion-H61H2-LM3:~$ scrcpy
INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
/usr/share/scrcpy/scrcpy-server: 1 f...ed. 0.6 MB/s (34012 bytes in 0.054s)
[server] INFO: Device: samsung SM-A526B (Android 12)
INFO: Renderer: opengl
INFO: OpenGL version: 3.0 Mesa 21.2.6
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2400
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.setD isplaySurface(S
urfaceControl.java:75)
at com.genymobile.scrcpy.ScreenEncoder.setDisplaySurf ace(ScreenEncod
er.java:243)
at com.genymobile.scrcpy.ScreenEncoder.internalStream Screen(ScreenEn
coder.java:91)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(S creenEncoder.ja
va:60)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:80 )
at com.genymobile.scrcpy.Server.main(Server.java:252)
at com.android.internal.os.RuntimeInit.nativeFinishIn it(Native Metho
d)
at com.android.internal.os.RuntimeInit.main(RuntimeIn it.java:374)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.SurfaceControl.setD isplaySurface(S
urfaceControl.java:73)
... 7 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
at android.view.SurfaceControl$Transaction.setDisplay Surface(Surface
Control.java:3370)
at android.view.SurfaceControl.setDisplaySurface(Surf aceControl.java
:2344)
... 9 more
WARN: Killing the server...
keithmedion@keithMedion-H61H2-LM3
i have been into Developer Options on my Samsung A52 with Android 12, and USB debugging is on. The phone asks permission to share data, accept, and then the above.
Can anyone with more knowledge than me (and that means everyone on the Forum) tell me how to proceed?
Keith M
Comment