Arduino adk + processing error

edited July 2014 in Android Mode

Hello,

I have a project where i have to send some data from arduino to android. I checked the internet and found the arduino mega adk + processing the most easy way to do it. So i bought the adk board but not even a single ArduinoADKUsb example worked in processing. I have Processing 2.2.1 and Arduino 1.5.6r2. I am getting the processing code compiled but with the following error :

FATAL EXCEPTION: Animation Thread Process: processing.android.test.adk_analogread, PID: 28362 java.lang.RuntimeException: stub at com.android.future.usb.UsbManager.getInstance(Unknown Source) at cc.arduino.ADKCommunication.(Unknown Source) at cc.arduino.ArduinoAdkUsb.(Unknown Source) at processing.android.test.adk_analogread.adk_analogRead.setup(adk_analogRead.java:31) 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 am getting the sketch on my Android phone as well but when I open it says "Unfortunately adk_analogRead has stopped"

Any help would be greatly appreciated.

Sign In or Register to comment.