I’ve Tried this several times and I can’t seem to find out what the answer is.
I’ve done all the steps to get it to build with android and it works great when in debug mode, But as soon as I try to make a release APK, FMOD doesn’t play any sounds. What’s ever more crazy is that it’s not like its the release libraries that don’t work because when I use the release libraries with a debug build, it works fine!
Can anyone help me with this issue? Also what sucks is that I can’t get a good stacktrace since it’s in release mode and I use progaurd. My proguard config contains:
-keep class org.fmod.** { ; }
-dontwarn org.fmod.*
Without the Don’t warn, I get this error:
Warning: org.fmod.MediaCodec$2DataSource: can’t find superclass or interface android.media.MediaDataSource
Warning: org.fmod.MediaCodec: can’t find referenced method ‘void setDataSource(android.media.MediaDataSource)’ in library class android.media.MediaExtractor
Warning: org.fmod.MediaCodec$2DataSource: can’t find referenced class android.media.MediaDataSource
Warning: org.fmod.MediaCodec$2DataSource: can’t find referenced class android.media.MediaDataSource