Unsatisfied link after installing Android 5 update

asked 2014-11-27 12:21:15 -0700

germanviscuso gravatar image

updated 2014-11-30 11:36:15 -0700


I just updated my Nexus 4 to Android Lollipop and an Android app that was finding the alljoyn dynamic library just fine (deployed via Mave) now throws a:

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.avispalabs.kiihome-2/base.apk"],nativeLibraryDirectories=[/data/app/com.avispalabs.kiihome-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "liballjoyn_java.so"

BTW I use System.loadLibrary() in a static call to load liballjoyn_java.so

Is liballjoyn_java.so compatible with the new ART that replaced Dalvik?

Best! Thx

UPDATE: it doesn't seem to be directly related to ART, see http://stackoverflow.com/questions/27193188/java-lang-unsatisfiedlinkerror-after-updating-to-android-5-0

edit retag flag offensive close merge delete


Here's more detailed info describing the problem: http://stackoverflow.com/questions/27193188/java-lang-unsatisfiedlinkerror-after-updating-to-android-5-0

germanviscuso ( 2014-11-28 09:03:04 -0700 )edit

I advice Alljoyn developers to urgently check this because it probably means that Alljoyn for Android dynamic library (as precompiled in 14.06.00a) does not work on Android 5.0 Lollipop!! As a reference to see the issues to be aware of when creating native libraries for the new ART please see http://developer.android.com/guide/practices/verifying-apps-art.html

germanviscuso ( 2014-11-28 09:20:51 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-12-18 07:36:15 -0700

germanviscuso gravatar image

Problem has been fixed in the .so library found on this release: https://build.allseenalliance.org/ci/view/Core%20RB14.12%20SDK/job/branch-android-sdk/

edit flag offensive delete publish link more

answered 2014-12-02 08:26:19 -0700

marcello gravatar image

updated 2014-12-02 10:01:35 -0700

We have verified that the Android L release breaks compatibility for AllJoyn in particular. Unfortunately we have not been able to do the port as we have been resource strapped. Any help from the community in getting this working would be greatly appreciated. There is even a Jira ticket for it: ASACORE-1208

edit flag offensive delete publish link more



The team and I have done some leg work. We are looking into making sure that the link issue will not be there, though official support for L will not be there. The ticket above explains a work around for building the library yourself if you can't wait.

marcello ( 2014-12-02 14:57:47 -0700 )edit

Appreciate it, thanks. I think in the meantime I'll build it myself following the workaround in ASACORE-1208. I regret that I can't help you with this but I'm on a tight implementation schedule. Thanks a lot for taking a look at this!

germanviscuso ( 2014-12-03 02:31:39 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-11-27 12:21:15 -0700

Seen: 1,041 times

Last updated: Dec 18 '14