基本能定位到是这里的问题:
- adb -s ************** shell LD_LIBRARY_PATH=/data/local/tmp/minicap-devel /data/local/tmp/minicap-devel/minicap -P 1080x1920@1080x1920/0 **************
WARNING: linker: Unsupported flags DT_FLAGS_1=0x8000001
WARNING: linker: /data/local/tmp/minicap-devel/minicap: unused DT entry: type 0x6ffffffe arg 0x2140
WARNING: linker: /data/local/tmp/minicap-devel/minicap: unused DT entry: type 0x6fffffff arg 0x2
PID: 4401
INFO: Using projection 1080x1920@1080x1920/0
INFO: (external/MY_minicap/src/minicap_22.cpp:247) Creating SurfaceComposerClient
INFO: (external/MY_minicap/src/minicap_22.cpp:250) Performing SurfaceComposerClient init check
INFO: (external/MY_minicap/src/minicap_22.cpp:257) Creating virtual display
INFO: (external/MY_minicap/src/minicap_22.cpp:263) Creating buffer queue
INFO: (external/MY_minicap/src/minicap_22.cpp:268) Creating CPU consumer
INFO: (external/MY_minicap/src/minicap_22.cpp:272) Creating frame waiter
INFO: (external/MY_minicap/src/minicap_22.cpp:276) Publishing virtual display
INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6268932 bytes for JPG encoder
INFO: (external/MY_minicap/src/minicap_22.cpp:291) Destroying virtual display
当启动./run.sh 以后如果非正常退出,再启动就一定报错,而定位到脚本里具体是这个命令的问题:
- adb -s ************** shell LD_LIBRARY_PATH=/data/local/tmp/minicap-devel /data/local/tmp/minicap-devel/minicap -P 1080x1920@1080x1920/0 **************