ulizama/phonelistener

cannot locate symbol "__exidx_end" in Titanium 5.5.1GA

Opened this issue · 4 comments

I tried to add your module to an application, but got the following cryptic error:
TiApplication: (main) [199,1781] Sending event: exception on thread: main msg:java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by "/data/app/com.companyname.abfa9a2cdad3c5c985b06fe6cf524980-2/lib/arm/libcom.baboonmedia.phonelistener.so"...; Titanium 5.5.1,2016/09/27 05:39,b18727f [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__exidx_end" referenced by "/data/app/com.companyname.abfa9a2cdad3c5c985b06fe6cf524980-2/lib/arm/libcom.baboonmedia.phonelistener.so"... [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:372)
and so on, generic library linking stuff.

Android API level: 23 (Android 6)
Titanium Version: 5.5.1 (latest)
Phonelistener version: 1.0.0 (the only one?)

I don't have time right now to compile it using the latest Android and Titanium versions. Can you try rebuilding the module and see if it clears the issue?

I not I'll try to do it myself as soon as I can.

I'm having some trouble rebuilding your module*. However rolling back the Titanium version to 3.5.0 (exactly 3.5.0, even upgrading to 3.5.1 causes that error) "solves" the problem. This is quite an imperfect solution however since I can only accommodate one module like this, and you (well, I) never know when the next one will be.


(*) I'm new to Titanium/Appcelerator Studio. Basically it silently fails the build and then complains that it couldn't find the resulting .zip file. On any SDK version, I tried 3.5.0, 3.5.1 and 5.5.1.
update: I forgot to add that since the zip is already present in the git repository, it will seem like it did a build the first time, which throws you off track about what is happening. --13/10/2016

That is indeed weird. I'll take a look at soon as I can and see if I can update it to use the latest SDK

Did you get a chance to look at it?