还有个问题想请问下大佬,已经把 libturbojpeg.so 和 libcompress.so 推送到手机的/data/local/tmp 下,手机对应的 so 版本是对的,但是启动 scrcpy 还是有如下报错,机型是 REDMI Note 8 Pro Android 10,启动命令 LD_LIBRARY_PATH=/system/lib64:/system/product/lib64:/data/local/tmp CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server -Q 60 -r 24 -P 480 -D
08-27 17:11:39.342 28274 28573 E scrcpy : Exception on thread Thread[ScrcpyImageReaderHandlerThread,5,main]
08-27 17:11:39.342 28274 28573 E scrcpy : java.lang.UnsatisfiedLinkError: No implementation found for byte[] com.genymobile.scrcpy.JpegEncoder.compress(java.nio.ByteBuffer, int, int, int, int) (tried Java_com_genymobile_scrcpy_JpegEncoder_compress and Java_com_genymobile_scrcpy_JpegEncoder_compress__Ljava_nio_ByteBuffer_2IIII)
08-27 17:11:39.342 28274 28573 E scrcpy : at com.genymobile.scrcpy.JpegEncoder.compress(Native Method)
08-27 17:11:39.342 28274 28573 E scrcpy : at com.genymobile.scrcpy.ScreenEncoder$ImageAvailableListenerImpl.onImageAvailable(ScreenEncoder.java:179)
08-27 17:11:39.342 28274 28573 E scrcpy : at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
08-27 17:11:39.342 28274 28573 E scrcpy : at android.os.Handler.dispatchMessage(Handler.java:107)
08-27 17:11:39.342 28274 28573 E scrcpy : at android.os.Looper.loop(Looper.java:224)
08-27 17:11:39.342 28274 28573 E scrcpy : at android.os.HandlerThread.run(HandlerThread.java:67)
使用-D 获取 DumpHierarchy 的时候,经常推流没返回 hierarchy,这种情况使用 adb 命令的时候也返回 aborted,请问大佬有办法解决么。