-2

我已按照在此处输入链接描述中的说明为基于 mobilefirst 的 hydrad android 应用程序启用了基本应用程序真实性

但是当我在安卓手机上运行它时,应用程序崩溃了。请从 logcat 中找到错误,如下所示:

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

请帮我解决这个问题

4

1 回答 1

0

`libauthjni.so 文件是默认生成的 Android 项目的一部分。
确保您没有以某种方式从项目中删除这些。

在此处输入图像描述

于 2016-03-06T04:54:09.467 回答