Hi, I´m very new in JUCE. Trying to load a .wav file and added it to an “assets” folder in the project. Added “./assets” to Extra Android Assets in the Android Exporter Config.
Opening it with Android Studio, I see the folder and file is included in src/main/assets/myFile.wav
Trying to load it, doesn´t work with:
auto mySample = File (“assets/myFile.wav”);
auto mySample = File (“myFile.wav”);
Any help ? How can I load it with File class ?
Can I make it to work for all platforms (MacOs, iOs, Windows, Android) with the same code?