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
{{ message }}
Repository navigation
v2.4.0 fails to be dexed because of IntStream classes incompatible with APDE's API level 13 #100
Thanks for reporting! What exactly is the problem, is there no sound playing? Any other error messages? Can you please test whether the sketch works with earlier versions of the sound library on the v0.5.2 APDE?
I just logged in here to check on this issue. Still happening and I'm searching for any fix. The v2.3.0 Sound release on APDE works great. I uninstalled v2.4.0 and checked the older version. But when installing the v2.4.0, the sound-dex.jar is not made. Creating the dex from the jar with DX Dexer still doesn't fix the problems because then the AudioIn is not working. The error is "java.lang.NoClassDefFoundError: Failed resolution of: Lprocessing/sound/AudioIn"
Could you please try uninstalling the sound library through the Contribution Manager, then install it manually from sound-android.zip and report back if that fixes the issue?
Could you please try uninstalling the sound library through the Contribution Manager, then install it manually from sound-android.zip and report back if that fixes the issue?
kevinstadler, we're trying to get the sound to work in APDE android application, I don't know how to access a contribution manager through APDE. So instead, I followed what you said using the Processing 4.3 desktop application (Mac OS) but I don't know that things are solved.
So at first, following your steps didn't work because uninstalling "sound" through Contribution Manager made Processing think "sound" was not accessible even though I manually extracted sound-android.zip and placed the package's folder in the libraries folder. I ended up starting over (deleted the Android sound folder in libraries, while Sound was also uninstalled by Contribution Manager), then I installed "Sound" through the Contribution Manager, then I deleted the "sound" folder the Manager created, and finally I dropped in the sound-android.zip extracted folder in the libraries folder. I was able to execute my program just fine on MacOS Processing after these steps were taken. Not sure how to transfer over this setup to my Android though.
I'm sorry I don't use APDE myself so I can't be of much help here -- the sound-android.zip should work on Android (at least it does in Android Mode for Processing), I guess these are the instructions for installing libraries under APDE, maybe if you follow these steps to install sound-android.zip it won't raise the 'not accessible' error: https://github.com/Calsign/APDE/wiki/Installing-Contributed-Libraries
If you want to get the sketch/sound to run on Android definitely steer clear of even installing the default sound library, use the sound-android.zip and nothing else.
I'm sorry I don't use APDE myself so I can't be of much help here -- the sound-android.zip should work on Android (at least it does in Android Mode for Processing), I guess these are the instructions for installing libraries under APDE, maybe if you follow these steps to install sound-android.zip it won't raise the 'not accessible' error: https://github.com/Calsign/APDE/wiki/Installing-Contributed-Libraries
If you want to get the sketch/sound to run on Android definitely steer clear of even installing the default sound library, use the sound-android.zip and nothing else.
Hi, I have a similar problem with Sound Library in APDE. I know that this issue was discussed a year ago but still, I want to bring it up.
So, I found what was the EXACT problem with library, well at least in my situation.
The problem seems to be with sound.jar in library folder, while you're trying to dex the library. And in sound.jar file it can't dex three classes.
Here a photo of the error. (Typed it in text editor, for easy view)
It's looks like the problem is with API version. It is set on 13 (probably set by APDE, I don't know), while library needs at least 24.
I know that it could be a problem with APDE itself, but I thought it would be good to bring it up here.
Thanks so much for the detailed report @eeRealDiamond that's really helpful! The fancy new Stream classes code will have to go I'm afraid, I'll see if I can put together a quick fix for APDE...
changed the title [-]issue with version v2.4.0-preview of the sound library[/-][+]v2.4.0 fails to be dexed because of IntStream classes incompatible with APDE's API level 13[/+]on Jan 4, 2026
Activity
kevinstadler commentedon Feb 11, 2024
Thanks for reporting! What exactly is the problem, is there no sound playing? Any other error messages? Can you please test whether the sketch works with earlier versions of the sound library on the v0.5.2 APDE?
jsmfuent commentedon Dec 2, 2024
I just logged in here to check on this issue. Still happening and I'm searching for any fix. The v2.3.0 Sound release on APDE works great. I uninstalled v2.4.0 and checked the older version. But when installing the v2.4.0, the sound-dex.jar is not made. Creating the dex from the jar with DX Dexer still doesn't fix the problems because then the AudioIn is not working. The error is "java.lang.NoClassDefFoundError: Failed resolution of: Lprocessing/sound/AudioIn"
kevinstadler commentedon Dec 2, 2024
Could you please try uninstalling the sound library through the Contribution Manager, then install it manually from sound-android.zip and report back if that fixes the issue?
jsmfuent commentedon Dec 5, 2024
kevinstadler, we're trying to get the sound to work in APDE android application, I don't know how to access a contribution manager through APDE. So instead, I followed what you said using the Processing 4.3 desktop application (Mac OS) but I don't know that things are solved.
So at first, following your steps didn't work because uninstalling "sound" through Contribution Manager made Processing think "sound" was not accessible even though I manually extracted sound-android.zip and placed the package's folder in the libraries folder. I ended up starting over (deleted the Android sound folder in libraries, while Sound was also uninstalled by Contribution Manager), then I installed "Sound" through the Contribution Manager, then I deleted the "sound" folder the Manager created, and finally I dropped in the sound-android.zip extracted folder in the libraries folder. I was able to execute my program just fine on MacOS Processing after these steps were taken. Not sure how to transfer over this setup to my Android though.
kevinstadler commentedon Dec 6, 2024
I'm sorry I don't use APDE myself so I can't be of much help here -- the sound-android.zip should work on Android (at least it does in Android Mode for Processing), I guess these are the instructions for installing libraries under APDE, maybe if you follow these steps to install sound-android.zip it won't raise the 'not accessible' error: https://github.com/Calsign/APDE/wiki/Installing-Contributed-Libraries
If you want to get the sketch/sound to run on Android definitely steer clear of even installing the default sound library, use the sound-android.zip and nothing else.
AniManOtaku commentedon Dec 9, 2024
Guys that was almost a year ago and I have absolutely no recollection of the problem. I did installed sound 2.3.1 and it works fine.
AniManOtaku commentedon Dec 9, 2024
yeah i did everything right. it didn't work.
eeRealDiamond commentedon Jan 1, 2026
Hi, I have a similar problem with Sound Library in APDE. I know that this issue was discussed a year ago but still, I want to bring it up.
So, I found what was the EXACT problem with library, well at least in my situation.
The problem seems to be with
sound.jarinlibraryfolder, while you're trying to dex the library. And insound.jarfile it can't dex three classes.Here a photo of the error. (Typed it in text editor, for easy view)
It's looks like the problem is with API version. It is set on 13 (probably set by APDE, I don't know), while library needs at least 24.
I know that it could be a problem with APDE itself, but I thought it would be good to bring it up here.
kevinstadler commentedon Jan 4, 2026
Thanks so much for the detailed report @eeRealDiamond that's really helpful! The fancy new Stream classes code will have to go I'm afraid, I'll see if I can put together a quick fix for APDE...
[-]issue with version v2.4.0-preview of the sound library[/-][+]v2.4.0 fails to be dexed because of IntStream classes incompatible with APDE's API level 13[/+]eeRealDiamond commentedon Mar 6, 2026
Welp, guess i will make one for myself. 🙃