VMware Workspace ONE Community
Anton_1
Contributor
Contributor

Android application AirWatch SDK integration. Crash JNI_OnLoad

Hello, everyone.

Trying to start application on device and have an error:

E/AW_Native: JNI_OnLoad: Failed to initialise the crypto library
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.radar, PID: 23160
java.lang.UnsatisfiedLinkError: Bad JNI version returned from JNI_OnLoad in "/data/app/com.radar-a5m-L5i6YtDh2Ls_gExYVA==/lib/arm64/libfips_main.so": -3
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at com.airwatch.crypto.openssl.OpenSSLWrapper.<init>(Unknown Source:40)
at com.airwatch.crypto.openssl.OpenSSLCryptUtil.<init>(Unknown Source:9)
at com.airwatch.crypto.openssl.OpenSSLCryptUtil.createInstance(Unknown Source:40)
at com.airwatch.crypto.provider.AWSecurityProvider.<init>(Unknown Source:11)

...

My application is hybrid of React-Native and i use AWApplication inheritance:

public class MainApplication extends AWApplication implements ReactApplication

 

Labels (1)
Tags (2)
Reply
0 Kudos
2 Replies
alex529440
Contributor
Contributor

hello. did you manage to solve this problem?( Привет. получилось решить эту проблему?)

Reply
0 Kudos
Squall410
Contributor
Contributor

My team previously ran into a similar error with both RN and fully native applications. The issue I think is related to trying to sideload a Debug signed build of the application when the build hosted via WorkspaceOne is a Release signature. You can't sideload on top of any BYOD Google Play hosted builds at all, but you also can't sideload a debug build over a release build. Or a release build over a debug for that matter.

Reply
0 Kudos