Go Down

Topic: Arduino mega adk + Processing + Android (Read 1 time) previous topic - next topic

Frogeraie

I tried to use the Arduino Labs tutorial for the Accessory mode (http://labs.arduino.cc/ADK/AccessoryMode) on my Samsung Galaxy 10.1 tab with no success. The Arduino examples (e.g.: analogread) uploads alright on the Mega ADK board, but for the corresponding Processing example I get the following error message:
TEST TEST: 4
Arduino_ADK 0.1a
by D. Cuartielles, A. Goransson
at http://arduino.cc, http://1scale1.com
D:\And
Exception in thread "Thread-12" java.lang.NoSuchMethodError: cc.arduino.adk.processing.MyBuild.preprocess(Ljava/io/File;Ljava/lang/String;Lprocessing/mode/java/preproc/PdePreprocessor;)Ljava/lang/String;
   at cc.arduino.adk.processing.MyBuild.createProject(Unknown Source)
   at cc.arduino.adk.processing.MyBuild.build(Unknown Source)
   at cc.arduino.adk.processing.MyCompileThread.compileAndUpload(Unknown Source)
   at cc.arduino.adk.processing.MyCompileThread.run(Unknown Source)
Android SDK is in the D:\And folder. My OS is Windows 7.
Any help?
PS: the ADB mode works alright, though!

PorcupineTheater

Same problem here. When I use "Run on Device" I have no problem but when I use "Arduino ADK" I get

Exception in thread "Thread-34" java.lang.NoSuchMethodError: cc.arduino.adk.processing.MyBuild.preprocess(Ljava/io/File;Ljava/lang/String;Lprocessing/mode/java/preproc/PdePreprocessor;)Ljava/lang/String;
   at cc.arduino.adk.processing.MyBuild.createProject(Unknown Source)
   at cc.arduino.adk.processing.MyBuild.build(Unknown Source)
   at cc.arduino.adk.processing.MyCompileThread.compileAndUpload(Unknown Source)
   at cc.arduino.adk.processing.MyCompileThread.run(Unknown Source)

I am running Windows 7 too and Android SDK is in C:\Program Files (x86)\Android\android-sdk

However, I noticed that my message says "Thread-34" 


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy