手机:realme V5
安卓版本:10
color os : v7
问题:本手机启动后抛出异常,不能正常使用
启动指令:
/data/local/tmp $ LD_LIBRARY_PATH=/system/lib64:/system/product/lib64:/oppo_product/lib64:/data/local/tmp CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server -r 24 -P 480 -Q 60
异常信息:
[server] INFO: Options frame rate: 24 (1 ~ 60)
[server] INFO: Options quality: 60 (1 ~ 100)
[server] INFO: Options projection: 480 (1080, 720, 480, 360...)
[server] INFO: Options control only: false (true / false)
[server] INFO: videoChannel: java.nio.channels.SocketChannel[connected local=/127.0.0.1:6612 remote=/127.0.0.1:47845]
[server] INFO: realWidth: 1080, realHeight: 2400, desiredWidth: 480, desiredHeight: 1064
[server] INFO: banner
{
version: 1
size: 24
real width: 1080
real height: 2400
desired width: 480
desired height: 1064
orientation: 0
quirks: 2
}
[server] INFO: realWidth: 1080, realHeight: 2400, desiredWidth: 480, desiredHeight: 1064
[server] ERROR: Exception on thread Thread[ScrcpyImageReaderHandlerThread,5,main]
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)
at com.genymobile.scrcpy.JpegEncoder.compress(Native Method)
at com.genymobile.scrcpy.ScreenEncoder$ImageAvailableListenerImpl.onImageAvailable(ScreenEncoder.java:179)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:798)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:238)
at android.os.HandlerThread.run(HandlerThread.java:67)
有大佬知道原因么
已阅