It might be a purejavacomm problem. There is a newer version that the one
used by the IOIO tools. Can any of you try to update the purejavacomm.jar
file to the latest and see if it fixes the issue? If it does, I can build
new versions fairly easily.


On Wed, Aug 20, 2014 at 7:55 AM, Tim Frisch <[email protected]> wrote:

> Hey Ytai; I've got a similar error.
>
> Added the ADB to the PATH.
>
> Now when running the ioiobridge we receive this:
>
>
>
>  Connecting to IOIO... Connected!
>
> Connecting to Android application... Connected!
>
> Bridge is running...
>
> Exception in thread "Thread-1" java.lang.IllegalStateException: File
> descriptor is -1 < 0, maybe closed by previous error condition
>
> at purejavacomm.PureJavaSerialPort.checkState(PureJavaSerialPort.java:906)
>
> at purejavacomm.PureJavaSerialPort.access$000(PureJavaSerialPort.java:46)
>
> at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:567)
>
> at java.io.InputStream.read(InputStream.java:101)
>
> at ioio.bridge.Main$GracefullyClosingInputStream.read(Unknown Source)
>
> at ioio.bridge.Main$BridgeThread.run(Unknown Source)
>
> Bridge closed.
>
> Connecting to IOIO... Connected!
>
> Connecting to Android application... Connecting to IOIO... Connected!
>
> Connecting to Android application... Connected!
>
> Bridge is running...
>
> Exception in thread "Thread-1" java.lang.IllegalStateException: File
> descriptor is -1 < 0, maybe closed by previous error condition
>
> at purejavacomm.PureJavaSerialPort.checkState(PureJavaSerialPort.java:906)
>
> at purejavacomm.PureJavaSerialPort.access$000(PureJavaSerialPort.java:46)
>
> at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:567)
>
> at java.io.InputStream.read(InputStream.java:101)
>
> at ioio.bridge.Main$GracefullyClosingInputStream.read(Unknown Source)
>
> at ioio.bridge.Main$BridgeThread.run(Unknown Source)
>
> Bridge closed.
>
> Connecting to IOIO... Connected!
>
> Connecting to Android application...
>
> On Saturday, August 16, 2014 5:13:44 PM UTC-5, Ytai wrote:
>
>> The adb tool is a part of the Android SDK. Locate it and add its
>> directory to the PATH environment variable.
>> On Aug 13, 2014 1:34 PM, "Luke Zahalka" <[email protected]> wrote:
>>
>>>  Trying to run an emulator through the ioiobridge and I receive this
>>> error:
>>>
>>> ./ioiobridge: line 4: adb: command not found
>>>
>>>
>>> I got the chmod and followed the instructions online
>>>
>>>
>>> Anyone else run into this error?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "ioio-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/ioio-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to