Skip to content

Always crashes #7

@TimDemper2

Description

@TimDemper2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions