after I downloaded the new version of android mode for processing 4 wrote a simple program and when I tries to test it I got
Exception in thread "Thread-27" java.lang.NoSuchMethodError: 'java.lang.String processing.mode.android.AndroidBuild.preprocess(java.io.File, java.lang.String, processing.mode.java.preproc.PdePreprocessor, boolean)'
at processing.mode.android.AndroidBuild.createProject(AndroidBuild.java:252)
at processing.mode.android.AndroidBuild.build(AndroidBuild.java:223)
at processing.mode.android.AndroidMode.handleRunDevice(AndroidMode.java:276)
at processing.mode.android.AndroidEditor$16.run(AndroidEditor.java:412)
I then deleted all the code in the sketch and tried again and got the same error.
a brief look at the code seems to reveal that this method does not exists
help
I issue was not produced when I downloaded the latest processing-4.0b8 with downloading Android Mode for Processing 4 (version 4.5.0 a4) and I’m able to run an Android Mode’s example Array code successfully on the device.
Android Modes version (In windows you can check Android Mode version in C:\Users\User\Documents\Processing\modes\AndroidMode\mode.properties file. Check prettyVersion)
If you can provide the sample program which produces the issue, that would be helpful.
How did you test it? Did you use the play button to run the app on the device?