Project: titanium
Issue TIMOB-19293: Android: Crittercism: UnsatisfiedLinkError on libcrittercism-ndk.so
h6.Issue Description When testing on any sort of Android app (Classic or Alloy), Crittercism is failing to initialise during app launching. h6.Code Throw these couple lines to app.js. {code} var apm = require("com.appcelerator.apm"); apm.init(); {code} h6.Logs These logs on a Samsung Galaxy S6 running Android 5.0.1 and a Google Nexus 6 {code} [DEBUG] : Initializing application... [ERROR] : art: dlopen("/data/data/com.jbhunt.appl.jbhdrivemobile/files/com.crittercism/lib/libcrittercism-ndk.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.jbhunt.appl.jbhdrivemobile/files/com.crittercism/lib/libcrittercism-ndk.so" has unexpected e_machine: 40 [ERROR] : art: dlopen("/data/data/com.jbhunt.appl.jbhdrivemobile/files/com.crittercism/lib/libcrittercism-ndk.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.jbhunt.appl.jbhdrivemobile/files/com.crittercism/lib/libcrittercism-ndk.so" has unexpected e_machine: 40 [ERROR] : Crittercism: Unable to load breakpadjava.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.jbhunt.appl.jbhdrivemobile/files/com.crittercism/lib/libcrittercism-ndk.so" has unexpected e_machine: 40 {code} h6.Stack Trace Can be also reproduced using Genymotion emulator. {code} -- Start application log ----------------------------------------------------- [INFO] TiApplication: (main) [0,0] checkpoint, app created. [INFO] TiApplication: (main) [36,36] Titanium 4.1.0 (2015/07/06 11:15 d57aa7d) [INFO] TiApplication: (main) [67,103] Titanium Javascript runtime: v8 [INFO] TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] V8Object: (KrollRuntimeThread) [78,78] Runtime disposed, cannot set property 'userAgent' [INFO] CrittercismInstance: Initializing Crittercism... [ERROR] art: dlopen("/data/data/com.appc.test/files/com.crittercism/lib/libcrittercism-ndk.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.appc.test/files/com.crittercism/lib/libcrittercism-ndk.so" has unexpected e_machine: 40 [ERROR] art: dlopen("/data/data/com.appc.test/files/com.crittercism/lib/libcrittercism-ndk.so", RTLD_LAZY) failed: dlopen failed: "/data/data/com.appc.test/files/com.crittercism/lib/libcrittercism-ndk.so" has unexpected e_machine: 40 [ERROR] Crittercism: Unable to load breakpadjava.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.appc.test/files/com.crittercism/lib/libcrittercism-ndk.so" has unexpected e_machine: 40 [INFO] TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.appc.test.AppctouchtestActivity@1d4205bb [INFO] OpenGLRenderer: Initialized EGL, version 1.4 [WARN] EGL_emulation: eglSurfaceAttrib not implemented [WARN] OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xb00287e0, error=EGL_SUCCESS [INFO] APSAnalyticsService: Analytics Service Started [INFO] APSAnalyticsService: Stopping Analytics Service {code}
Story points: 8