Hello.
I’m having an issue running GainDemo from the DSP examples on Android. While the Load File… button works with .mp3 files using the Xcode exporter, the same function returns Unable to load file on Android.
.wav files work in both environments.
The only warnings that show up when building in Android Studio are related to juce_posix_SharedCode.h. The warnings went away by downloading the file from the develop branch as shown in this post . The problem persists though – screen captures below.
Could someone try the GainDemo example project on Android Studio? The septs to re-create are:
- Have Android Studio installed with an Android Virtual Device ready to roll. I used Nexus 5X API 28. Load both a
.wav
file and an.mp3
file to the AVD. - Go to the menu File > Open Example > DSP > GainDemo.
- Create the Android Exporter
- Select Android on Selected Exporter on top.
- Hit the Android icon.
-
Run ‘app’ on Android Studio with
^+R
or the ‘play’ button. - Load the appropriate file with the corresponding button.
In this example, the Load File...
button works only once. You need to close the app and re-open. This is true for any platform.
Any help is appreciated. I need to load .mp3 files. If also we make the Load Button...
work more than once, even better.
Thanks!
#StayHome #StayCool