Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25948

[Android] Hyperloop 3.0.4 throws an error when building for Android

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.1.1
    • Fix Version/s: Release 7.1.1
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Description

      When trying to run the hyperloop examples app on an android emulator on a Windows computer( Issue can also be seen on devices for some people). The application will crash and show the following error:

      [DEBUG] : AndroidRuntime: Shutting down VM
       	[ERROR] : TiApplication: (main) [14,547] Sending event: exception on thread: main msg:java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNSt3__112__next_primeEj" referenced by "/data/app/com.appc.a11-2/lib/x86/libhyperloop.so"...; Titanium 7.1.1,2018/04/04 11:05,undefined
       	[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNSt3__112__next_primeEj" referenced by "/data/app/com.appc.a11-2/lib/x86/libhyperloop.so"...
       	[ERROR] : TiApplication: at java.lang.Runtime.loadLibrary0(Runtime.java:989)
       	[ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1530)
       	[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:142)
       	[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:109)
       	[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:207)
       	[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:113)
       	[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:135)
       	[ERROR] : TiApplication: at com.appc.a11.A11Application.onCreate(A11Application.java:93)
       	[ERROR] : TiApplication: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
       	[ERROR] : TiApplication: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5403)
       	[ERROR] : TiApplication: at android.app.ActivityThread.-wrap2(ActivityThread.java)
       	[ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1545)
       	[ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102)
       	[ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:154)
       	[ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:6119)
       	[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method)
       	[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
       	[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
      

      Test Steps
      + Download and import the Hyperloop examples application Hyperloop examples App
      + Download and add Hyperloop 3.0.4 in to the imported project. Hyperloop 3.0.4
      + Run the application

      Expected result
      Application should not crash and run without issues.

      Actual result
      Application shows the above error.

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              smohammed Samir Mohammed
              Reviewer:
              Gary Mathews
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6293
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code