1.下载fastdroid-vnc
下载:https://download.csdn.net/download/u010164190/10346660
2.编译libjpeg.a for fastdroid-vnc
external/libjpeg-turbo/libjpeg-turbo/Android.mk
#LOCAL_MODULE := libjpeg_static
#modify by
LOCAL_MODULE := libjpeg
include $(BUILD_STATIC_LIBRARY)
3.fastdroid-vnc-1.0/LibVNCServer-0.9.7/libvncserver/main.c
fprintf(stderr,buf);
改为:
fprintf(stderr,”%s”buf);
4.编译后push到android设备中,后台执行即可
# fastdroid-vnc &
5.PC端可以装一个VNC view远程控制android设备