[zeromq-dev] zyre on android

Wynne Adam (CR/RTC3.1-NA) Adam.Wynne at us.bosch.com
Wed Oct 28 15:45:19 CET 2015


Hi All,

I'm having trouble getting zyre running on Android.  I'm able to build zyre using the qt-android build and armeabi v4.9 without any problem.  The problem comes when I try to link this into an Android project using JNI.  To do this, I'm using the new ndk gradle plugin by following example gradle.build files in these samples: https://github.com/googlesamples/android-ndk/tree/master/hello-jni.

When I do a gradle build, I get an error from ld that states "skipping incompatible <path>/libzyre.so...".  So I am thinking that there is a mismatch in gcc flags between the zyre library I compiled and the JNI code I created.

Can anyone offer some tips or instructions on how to link zyre into an Android project?  I see there is a non-qt android build as well with an Android.mk file, but I'm not sure how to use it.

Thanks much
Adam




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151028/5de42ff7/attachment.htm>


More information about the zeromq-dev mailing list