probably a daft question – My first stab at building an app for android – building on windows XP
I download Designer and the API (both versions 4.40.04)
Create Java file(s) and main.c for the JNI (eclipse SDK and NDK)
The build needs main.so (which it builds) plus libfmodex.so and libfmodevent.so but the API directory contains no .so files – just .lib files
Question – where do the .so files come from?
- paleo asked 6 years ago
BTW – I did download the .so files from the android kit and copied them over but I get a run-time error when I load the apk onto the device.
The error message is from FMOD_MusicSystem_LoadSoundData
E/fmod(29324): FMOD error! (93) Music system is not initialized probably because no music data is loaded.
There seems to be the right stuff in the FEV and FSB
The thing is that I first assumed that the distribution kit for Windows would be for development on Windows but for implementation on other devices. That kit did not have any .so files. So I downloaded the android kit and copied the .so files over. What I’m wondering is if the FEV and FSB produced on windows matches the .sofiles from the android kit. The app does work on an old FEV/FSB I found on the internet and they are FSB4 format but the ones I produce are FSB5 format (so it says) – could that be my trouble?
All FMOD SDKs are named based on the target platform, so use the Android SDK, headers and libs for deployment to Android devices.
FEVs and FSBs generated for the PC target (set in Designer) will work on Android, the formats are the same. The main points of difference between FSBs produced for different platforms are available compression formats and endian (both of which are the same for PC and Android).
If you are using the latest SDK from out website, it should support both FSB4 and the newer FSB5 (which is what our tools produce now). If you are in doubt about what is going wrong, consider using the logging version of FMOD, LogCat should show you details about what FMOD is doing and any potential problems.
Please login first to submit.