Unhappy Android native development issue


I'm trying out the APV library for Android which is a native library.
I have made changes in the library to match the package name of my app.
I built the .so files using the script provided in the library which created .so files for armeabi, armeabi-v7a and x86 processors.
I placed them in the jniLibs directory in my app module's src folder and have included the code in the build.gradle file to build flavors for the above 3 architectures.
I ran the app on my Nexus 4 and everything ran perfectly.

Then I decided to run the app on different devices and that's where everything started running loose.

I tried the running the app on Galaxy Note 2 (N7100), Galaxy Tab (10 inch), Asus Memopad, Galaxy S2(T-Mobile variant). In all of these devices I kept getting
java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1306]: 72 cannot locate '__isnanf'

I tried running the app on Moto G and Xperia T too, and encountered no such issues.

I tried to search online for any solution but couldn't find anything on it.

Can someone please help me solve this nasty issue?