FMOD plugin for Unity 2.01.09
Unity 2018.4.10f1
When we run our app which built with “Development build” turned on in Unity, we have error (multiple times):
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/OUR.APP.PACKAGE-r0YGqfpE7xxSSBBzn9soBw==/base.apk"],nativeLibraryDirectories=[/data/app/OUR.APP.PACKAGE-r0YGqfpE7xxSSBBzn9soBw==/lib/arm64, /data/app/OUR.APP.PACKAGE-r0YGqfpE7xxSSBBzn9soBw==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]] couldn't find "libfmodL.so"
If we build without “Development build” flag, all is ok.
In both cases there is no libfmodL.so in libs/armeabi-v7a directory of our apk (we built only armeabi-v7a) (libfmod.so and libfmodstudio.so are present).
In our Unity project we have libfmodL.so for armeabi-v7a, at path
Assets/Plugins/FMOD/lib/android/armeabi-v7a/libfmodL.so
And Import settings looks ok:
Looks like libfmodL.so must appear in resulting apk, but it doesnt.
- Is it right that libfmodL.so should be added to apk?
- If yes, can you give as an advice please - how to investigate missing libfmodL.so in apk?
- Can you please point us - why java.lang.UnsatisfiedLinkError occurs only in builds with “Development build” flag?