Arduino Mega ADK + Processing 2.1 + Android

Hello everyone,

For over a week I have been searching the Internet, looking for solution about how to connect my Arduino Mega ADK to my 4.1.2 Android device using Processing 2.1. I need to be abel to read analog pins and transvere data flow into the Android device.

So far I have tried many thing of whitch most promising seemed to be this official tutorial :

and this Tellar tutorial:

However I keep getting this error message:

Arduino_ADK 0.1a
by D. Cuartielles, A. Goransson
    Exception in thread "Thread-13" java.lang.NoClassDefFoundError: processing/mode/android/AndroidPreprocessor
        at cc.arduino.adk.processing.MyCompileThread.compileAndUpload(Unknown Source)
        at Source)
    Caused by: java.lang.ClassNotFoundException:
        at$ Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 2 more

I followed instruction tutorials several times very carefully and downloaded everything what was needed. Arduino Mega ADK transveres readings (USB monitor) works fine. I am usin Arduino IDE 1.0.5. As well I was able to run working sketches from procesing 2.1 (in Android mode) on my Android device. However I cant figure out a way for both of them communicating together.

Any advice will be greatly appreciated. Best regards, Dominik.


  • I think arduino has totally ignored this mega adk board as majority of the public has failed to get this working with processing for android!

  • I made all sort of changes in sdks and the libraries but it did not work for me too.

Sign In or Register to comment.