cancel
Showing results for 
Search instead for 
Did you mean: 

MobiLink communication error -- code: 224, parameter: libmlcrsa16.so on Android 6

former_member182374
Active Contributor
0 Kudos
573

Hello Experts,

I'm using MBO Runtime 3 (3.0.12.0).

My application is native Android (compiled against API level 24)

The application works on Android 5.1.1.

I added relevant permissions code and it also works on Android 6 without MDM (my MDM is Mobile Iron).

When trying to run the application on Android 6 under Mobile Iron I get the following error:
E/ScannerDBCallback: ERROR [Exception message = com.ianywhere.ultralitejni16.implementation.JniException: UltraLiteJ Error[-1305]: MobiLink communication error -- code: 224, parameter: libmlcrsa16.so, system code: 0Details:
StreamErrorCode = 224
StreamErrorMessage = libmlcrsa16.so

Error 224 means that the app can't load the library (the library files are in the correct location jbiLibs->armeabi libmlcrsa16.so & libultralitej16).

I thought it's a Mobile Iron issue (and maybe it is) but I also found note number 2348561 which indicates that the openSSL version in the libmlcrsa16.so file is old and not supported by Google.

I'm not using SSL for connecting the SMP server (I rely on the Mobile Iron SSL) but does the app uses SSL internally for connecting the ultralite DB?

How can I solve this issue? (the so files are obviously 'black box' and I can't see any way to control it).

Regards,
Omri

View Entire Topic

Hi Omri,

It sounds like maybe MobileIron is restricting certain permissions for your Android app. You should check if any of the Android permissions the app needs is being overriden by MobileIron. Usually MDM apps such as Mobile Iron run as device administrators on Android to be able to enforce such restrictions remotely.

Regards

Aditya