Pages: [1]   Go Down
Author Topic: Arduino mega adk + Processing + Android  (Read 1271 times)
0 Members and 1 Guest are viewing this topic.
Rochefort, France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 73
Arduino is a king
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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" 

Logged

Pages: [1]   Go Up
Jump to: