-2

I have enabled the basic app authenticity for the mobilefirst based hydrid android app as per the instruction in enter link description here

But when i run it on the android phone the app crashes. please find the error from the logcat says as follows :

03 - 01 18: 44: 57.988 18868 - 18933 / ? E / AndroidRuntime : FATAL EXCEPTION: pool - 5 - thread - 1
Process: com.keycorp.kmf, PID: 18868
java.lang.UnsatisfiedLinkError: Couldn 't load authjni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.keycorp.kmf-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.keycorp.kmf-1, /vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java: 358)
at java.lang.System.loadLibrary(System.java: 526)
at com.worklight.common.security.AppAuthenticityToken. < init > (AppAuthenticityToken.java: 30)
at com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler.handleChallenge(AuthenticityChallengeHandler.java: 81)
at com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler.handleChallenge(AuthenticityChallengeHandler.java: 32)
at com.worklight.wlclient.api.challengehandler.BaseChallengeHandler.startHandleChallenge(BaseChallengeHandler.java: 71)
at com.worklight.wlclient.WLRequest.checkResponseForChallenges(WLRequest.java: 626)
at com.worklight.wlclient.WLRequest.requestFinished(WLRequest.java: 292)
at com.worklight.wlclient.WLRequestSender.run(WLRequestSender.java: 52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 587)
at java.lang.Thread.run(Thread.java: 841)
03 - 01 18: 44: 57.998 18868 - 18881 / ? E / com.worklight.common.Logger$UncaughtExceptionHandler : Logger$UncaughtExceptionHandler.uncaughtException in Logger.java: 452::Uncaught Exception
java.lang.UnsatisfiedLinkError: Couldn 't load authjni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.keycorp.kmf-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.keycorp.kmf-1, /vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java: 358)
at java.lang.System.loadLibrary(System.java: 526)
at com.worklight.common.security.AppAuthenticityToken. < init > (AppAuthenticityToken.java: 30)
at com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler.handleChallenge(AuthenticityChallengeHandler.java: 81)
at com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler.handleChallenge(AuthenticityChallengeHandler.java: 32)
at com.worklight.wlclient.api.challengehandler.BaseChallengeHandler.startHandleChallenge(BaseChallengeHandler.java: 71)
at com.worklight.wlclient.WLRequest.checkResponseForChallenges(WLRequest.java: 626)
at com.worklight.wlclient.WLRequest.requestFinished(WLRequest.java: 292)
at com.worklight.wlclient.WLRequestSender.run(WLRequestSender.java: 52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 587)
at java.lang.Thread.run(Thread.java: 841)
03 - 01 18: 46: 07.878 19193 - 19206 / ? D / NONE : establishSSLClientAuth
03 - 01 18: 46: 07.938 19193 - 19206 / ? D / NONE : establishSSLClientAuth isCertificateExists: false

Please help me resolve this issue

giannisf
  • 2,479
  • 1
  • 17
  • 29
Prasad
  • 5
  • 1

1 Answers1

0

The `libauthjni.so file(s) is part of the default generated Android project.
Make sure that you have not somehow removed these from your project.

enter image description here

Idan Adar
  • 44,156
  • 13
  • 50
  • 89