Hello everyone!
I have an issue with the Sound library import into the Android Mode. All works fine when in Java Mode, all sounds are playing as they should, but in Android Mode the " import processing.sound.* " line of code gives me the following error:
Exception in thread "Thread-119" java.lang.NullPointerException: Cannot read the array length because "list" is null
at processing.app.Library.wrapFiles(Library.java:427)
at processing.app.Library.getApplicationExports(Library.java:437)
at processing.mode.android.AndroidBuild.copyImportedLibs(AndroidBuild.java:839)
at processing.mode.android.AndroidBuild.createAppModule(AndroidBuild.java:481)
at processing.mode.android.AndroidBuild.createProject(AndroidBuild.java:262)
at processing.mode.android.AndroidBuild.build(AndroidBuild.java:223)
at processing.mode.android.AndroidMode.handleRunDevice(AndroidMode.java:294)
at processing.mode.android.AndroidEditor$17.run(AndroidEditor.java:421)
Without the abovementioned line of code, all works well!
What is the problem? Why the Sound library doesn’t work in Android Mode?
I use the Processing 4.3 IDE.
Also the “Thread-119” portion gets changed with other numbers each time I compile my code!
Many thanks,
Sammy