__android_log_write(6, "android-service", "Trying to open USB device.get_usb_device_fd"); //rc = libusb_open_fd(device, &handle;,fd);//打开这个usb文件 //if (rc != 0) { __android_log_write(6, "channel-usbredir", "Failed to open USB device."); } 关键代码缺失,调用libusb_
不错的资源,可以看看
谢谢楼主分享
测试一下看看
__android_log_write(6, "android-service", "Trying to open USB device.get_usb_device_fd"); //rc = libusb_open_fd(device, &handle;,fd);//打开这个usb文件 //if (rc != 0) { __android_log_write(6, "channel-usbredir", "Failed to open USB device."); } 关键代码缺失,调用libusb_
能运行,但是屏幕和logcat没有您说的那些信息啊。