-2

ここにリンクの説明を入力の指示に従って、mobilefirst ベースのハイブリッド android アプリの基本的なアプリ認証を有効にしまし た

しかし、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 に答える