情况:将IOIO Bridge连接到Virtualbox中的android_x86
*adb connected to 10.10.10.3:5555 (where 10.10.10.3 is VBox)*
adb forward tcp:4545 tcp:5555
java -jar ioiobridge.jar COM3
输出似乎
Connecting to IOIO... Connected!
Connecting to Android application... Connected!
Bridge is running...
Bridge closed.
Connecting to IOIO... Connected!
Connecting to Android application... Connected!
Bridge is running...
Bridge closed.
Connecting to IOIO... Connected!
Connecting to Android application... Connected!
Bridge is running...
Bridge closed.
Connecting to IOIO... Connected!
Connecting to Android application... Connected!
Bridge is running...
Bridge closed.
Connecting to IOIO... Connected!
Connecting to Android application... Connected!
Bridge is running...
Bridge closed.
我错了什么?
任何人都可以猜到吗?
答案 0 :(得分:1)
我找到了答案,
因为Android程序正在关闭连接
原因:打开IOIO实例时出错(我没有使用AbstactIOIOActivity或其新版本,我正在使用IOIO Factory)
如果将来有任何人面临问题,那么编程方建立连接时会出错,只需使用IOIO Libs,否则就像我一样做一个综合工作来创建自己的。