build 6044 crashes app which used to work

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.

Since you’re saying the Release-build fails, are you sure that Release-builds used to work with the previous installer? Or could it be that you never got that far? I’m just asking to try to figure out what has gone wrong…

It’s the app you saw, Erik. Now it starts ok in Debug, video and all, but instead of just the video not working, in Release it crashes altogether. You actually have the app :slight_smile:

Well, I know that. It’s just that the error you get seems to be related to V8, and no changes to the V8-code or integration happened since the last installer. So I’m a bit puzzled if that all of a sudden broke…

I haven’t changed the app between then and now. Any cleanup I could do? UPDATE: removing the build folder and rebuilding worked.

So, just to update: we found out that the problem was not cleaning the build after upgrading. So everything should work fine now.