What Android version are you working on? Please check the comment at https://github.com/crosswalk-project/crosswalk/blob/master/runtime/android/core_internal/src/org/xwalk/core/internal/XWalkViewDelegate.java#L95
Thanks, Halton. > -----Original Message----- > From: Iovene, Salvatore [mailto:[email protected]] > Sent: Wednesday, June 10, 2015 7:49 PM > To: crosswalk-help > Cc: Huo, Halton; Balestrieri, Francesco; Poussa, Sakari > Subject: Re: Crosswalk Android extensions and dependencies with native > libraries > > Hi, > I would like to extend this message with more findings, and perhaps this can > help some of you help me. > > I have tried packaging my extension's jar so that the .so files I get from the > third party library end in the /lib/armeabi-v7a/ directory within the jar. > Then, when making an APK for my app using make_apk.py, the .so files indeed > end up next to libxwalkcore.so, again in /lib/armeabi-v7a/. > > So far so good, and I was thinking I might have a change of things working. > Then, in my class that extends XWalkExtensionClient, I'm doing a block like > this: > > static { > System.loadLibrary("foo"); > System.loadLibrary("bar"); > } > > thinking this would load libfoo.so and libbar.so. > > However, I'm getting the following error in the logs: > > > E/dalvikvm( 3503): > dlopen("/data/app-lib/org.crosswalkproject.myapp/libfoo.so") failed: dlopen > failed: could not load library "libbar.so" needed by "libfoo.so" > > Obviously libfoo has a dependency on libbar. This also caught my eye: > > > cannot locate symbol "pthread_condattr_setclock" referenced by "libbar.so" > > Any idea how to proceed? > > TIA, > Salvatore. > > > On Thu, Jun 4, 2015 at 1:02 PM, Iovene, Salvatore > <[email protected]> wrote: > > Hi, > > I'm writing an extension for Crosswalk for Android, and my main > > dependencies is released as an .aar file which includes native > > libraries (*.so). > > > > Can anyone advise on how to package and distribute my extension so it > > can include that? > > > > Thanks, > > Salvatore. > > > > -- > > Salvatore Iovene <[email protected]> Linux Software Engineer > > Intel Open Source Technology Center, Finland > > Tel.: +358504804026 > > > > -- > Salvatore Iovene <[email protected]> > Linux Software Engineer > Intel Open Source Technology Center, Finland > Tel.: +358504804026 _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
