You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application is stuck in "Building Android Project" state and throws the exception below.
4.0b7
Exception in thread "Thread-10" java.lang.NoSuchMethodError: 'processing.mode.java.preproc.PreprocessorResult 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.handleRunEmulator(AndroidMode.java:241)
at processing.mode.android.AndroidEditor$15.run(AndroidEditor.java:390)
The text was updated successfully, but these errors were encountered:
It seems that the method named preprocess used here is not defined or may have been removed from AndroidBuild.java in the past updatation. There is a method PreprocessorResult write. Is it supposed to be used here after using PdePreprocessor.build()? @codeanticode
@WildPoYo @rupesh-kumar-lpu you have to compile the mode using the latest branch from Processing that introduces some changes in the preprocessor(), precisely to fix this issue: #663
Also note that the latest release of the Android mode for Processing 4 is only compatible with 4.0b8 for that same reason.
Application is stuck in "Building Android Project" state and throws the exception below.
4.0b7
Exception in thread "Thread-10" java.lang.NoSuchMethodError: 'processing.mode.java.preproc.PreprocessorResult 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.handleRunEmulator(AndroidMode.java:241)
at processing.mode.android.AndroidEditor$15.run(AndroidEditor.java:390)
The text was updated successfully, but these errors were encountered: