Description
I got this error when the sketch tries to start on my device:
FATAL EXCEPTION: Animation Thread
Process: processing.test.generatemachine_android, PID: 14576
java.lang.IllegalArgumentException: This library works only on Android.
at com.yourinventit.processing.android.serial.SerialCommunicatorFacory.create(SerialCommunicatorFacory.java:67)
at com.yourinventit.processing.android.serial.Serial.(Serial.java:41)
at com.yourinventit.processing.android.serial.Serial.(Serial.java:50)
at com.yourinventit.processing.android.serial.Serial.list(Serial.java:263)
at processing.test.generatemachine_android.generatemachine_android.setup(generatemachine_android.java:47)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:841)
I put the manifest and device filter in the correct folder and the sketch tries to run if i connect my arduino, but also crashes then.
it happens even if i only put println(Serial.list(this)); in the code.
I have a galaxy s3 neo with android 4.4.2 and tried it with a simple arduino uno.