QtScrcpy icon indicating copy to clipboard operation
QtScrcpy copied to clipboard

Android version 12

Open 786ironman opened this issue 3 years ago • 4 comments

Hey, I have android phone with android version 12 and i think it does not work on that

786ironman avatar Oct 20 '22 01:10 786ironman

hey @barry-ran does the software work on android 12 because i have android phone mi 11 it does not work on it but it works on my other phone with android 10

786ironman avatar Oct 22 '22 04:10 786ironman

error log?

barry-ran avatar Oct 31 '22 02:10 barry-ran

There was no error message but when i connected my smart phone it just didn't show up , i had different phone with android 10 which worked

On Sun, Oct 30, 2022, 10:45 PM Barry @.***> wrote:

error log?

— Reply to this email directly, view it on GitHub https://github.com/barry-ran/QtScrcpy/issues/705#issuecomment-1296467052, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3WZ5F4ZQKEWXLCIHFEXQFDWF4XEBANCNFSM6AAAAAARJUXUBY . You are receiving this because you authored the thread.Message ID: @.***>

786ironman avatar Oct 31 '22 17:10 786ironman

I tried with an older version of QtScrCpy and got this error:

AdbProcess::out:[server] ERROR: Exception on thread Thread[main,5,main]

AdbProcess::error: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:178)
	at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:70)
	at com.genymobile.scrcpy.Server.scrcpy(Server.java:34)
	at com.genymobile.scrcpy.Server.main(Server.java:163)
	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)
	... 6 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
	at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3145)
	at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2214)
	... 8 more

Also tested with ScrCpy and it connects correctly on the same device. So whatever the problem is, you can find the answer on the other project :)

RaptorX avatar Nov 01 '22 21:11 RaptorX