Environment: Release buld on Sony Z3 Compact, Android 5.1.1. App used to run (with the exception of a video issue) and now running it crashes with:
Launching actitity 'AlmaVii'
I/ActivityManager( 861): Start proc 19516:com.AlmaVii/u0a256 for activity com.AlmaVii/.AlmaVii
I/art (19516): Late-enabling -Xcheck:jni
W/ResourceType(19516): Found multiple library tables, ignoring...
D/AlmaVii (19516): SUT: false CML: false SDK: 22
E/art (19516): dlopen("/data/app/com.AlmaVii-1/lib/arm/libAlmaVii.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "_ZN8V8Simple7Context14ThrowExceptionEPNS_5ValueE" referenced by "libAlmaVii.so"...
D/AndroidRuntime(19516): Shutting down VM
E/AndroidRuntime(19516): FATAL EXCEPTION: main
E/AndroidRuntime(19516): Process: com.AlmaVii, PID: 19516
E/AndroidRuntime(19516): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8V8Simple7Context14ThrowExceptionEPNS_5ValueE" referenced by "libAlmaVii.so"...
E/AndroidRuntime(19516): at java.lang.Runtime.loadLibrary(Runtime.java:371)
E/AndroidRuntime(19516): at java.lang.System.loadLibrary(System.java:988)
E/AndroidRuntime(19516): at com.AlmaVii.CppManager.LoadLibraries(CppManager.java:32)
E/AndroidRuntime(19516): at com.AlmaVii.AlmaVii.<clinit>(AlmaVii.java:58)
E/AndroidRuntime(19516): at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime(19516): at java.lang.Class.newInstance(Class.java:1606)
E/AndroidRuntime(19516): at android.app.Instrumentation.newActivity(Instrumentation.java:1066)
E/AndroidRuntime(19516): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2280)
E/AndroidRuntime(19516): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)
E/AndroidRuntime(19516): at android.app.ActivityThread.access$800(ActivityThread.java:156)
E/AndroidRuntime(19516): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351)
E/AndroidRuntime(19516): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(19516): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime(19516): at android.app.ActivityThread.main(ActivityThread.java:5373)
E/AndroidRuntime(19516): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(19516): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(19516): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
E/AndroidRuntime(19516): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
I/Process (19516): Sending signal. PID: 19516 SIG: 9
I/ActivityManager( 861): Process com.AlmaVii (pid 19516) has died
Process com.AlmaVii terminated.
This only happens when deploying a build. Preview on device works ok. UPDATE: only a Release build fails. A Debug build runs fine.
