Wikitude / wikitude-titanium

Wikitude's Augmented Reality Module for Titanium - working together with the Wikitude SDK library for Android and iOS. Provides image recognition and tracking, instant tracking, object recognition, geo-based augmente reality and 3D rendering and animations in an augmented reality scene.
https://www.wikitude.com
42 stars 38 forks source link

Android sample crashes on start up #34

Closed shodanuk closed 8 years ago

shodanuk commented 9 years ago

Hi there,

I'm trying to run the Android sample on device but it's crashing as soon as it starts with the following error:

[ERROR] art: dlopen("/data/app/com.wikitude.titaniumsample-1/lib/arm/libcom.wikitude.ti.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "__exidx_end" referenced by "libcom.wikitude.ti.so"...
[ERROR] TiApplication: (KrollRuntimeThread) [40,162] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by "libcom.wikitude.ti.so"...; Titanium 3.5.1,2015/03/05 10:08,96875c9
[ERROR] TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by "libcom.wikitude.ti.so"...
[ERROR] TiApplication:  at java.lang.Runtime.loadLibrary(Runtime.java:371)
[ERROR] TiApplication:  at java.lang.System.loadLibrary(System.java:989)
[ERROR] TiApplication:
[ERROR] TiApplication:  at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
[ERROR] TiApplication:  at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)
[ERROR] TiApplication:  at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)
[ERROR] AndroidRuntime: FATAL EXCEPTION: KrollRuntimeThread
[ERROR] AndroidRuntime: Process: com.wikitude.titaniumsample, PID: 11982
[ERROR] AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by "libcom.wikitude.ti.so"...
[ERROR] AndroidRuntime:     at java.lang.Runtime.loadLibrary(Runtime.java:371)
[ERROR] AndroidRuntime:     at java.lang.System.loadLibrary(System.java:989)
[ERROR] AndroidRuntime:     at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)
[ERROR] AndroidRuntime:     at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
[ERROR] AndroidRuntime:     at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)
[ERROR] AndroidRuntime:     at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)

I can confirm that I've installed the com.wikitude.ti android module into /modules directory of my project. I can see the file mentioned in the error message above in /modules/android/com.wikitude.ti/4.1.0/libs/armeabi and in armeabi-v7a and x86 directories aswell.

My environment is as follows:

shodanuk commented 9 years ago

Just double checked and I noticed the required Ti SDK in tiapp.xml had been bumped to 3.5.1.GA. Have put it back to 3.5.0.GA and now the app works.

Any plans to support >3.5.0.GA ? It's getting pretty old now and Android particularly has benefitted from from recent Ti SDK releases.

AndreasSchacherbauerWikitude commented 8 years ago

Our latest release from July 11, 2016 should again work with the latest version of the Ti SDK.