tiny | Posts: 2

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;

0 votes

flutter pluginを作成した

UtilitiesSDKをflutter pluginにラップしましたが、呼び出す時は下記のエラーが発生されました。

E/AndroidRuntime(14564): FATAL EXCEPTION: main
E/AndroidRuntime(14564): Process: com.ntt.biz_sol_plugin_example, PID: 14564
E/AndroidRuntime(14564): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
E/AndroidRuntime(14564):     at com.vasco.digipass.sdk.utils.devicebinding.DeviceBindingSDK.a(SourceFile:81)
E/AndroidRuntime(14564):     at com.vasco.digipass.sdk.utils.devicebinding.DeviceBindingSDK.getFingerprint(SourceFile:1)
E/AndroidRuntime(14564):     at com.ntt.biz_sol_plugin.BizSolPlugin.onMethodCall(BizSolPlugin.java:42)
E/AndroidRuntime(14564):     at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
E/AndroidRuntime(14564):     at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/AndroidRuntime(14564):     at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/AndroidRuntime(14564):     at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/AndroidRuntime(14564):     at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(14564):     at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(14564):     at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime(14564):     at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime(14564):     at android.app.ActivityThread.main(ActivityThread.java:7842)
E/AndroidRuntime(14564):     at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(14564):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime(14564):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E/AndroidRuntime(14564): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.vasco.digipass.sdk.utils.utilities.UtilitiesSDK" on path: DexPathList[[zip file "/data/app/~~kEWs3ci_XriDbtekn0hvfw==/com.ntt.biz_sol_plugin_example-f5mPFyjNPb7630wUyZLlzg==/base.apk"],nativeLibraryDirectories=[/data/app/~~kEWs3ci_XriDbtekn0hvfw==/com.ntt.biz_sol_plugin_example-f5mPFyjNPb7630wUyZLlzg==/lib/x86_64, /data/app/~~kEWs3ci_XriDbtekn0hvfw==/com.ntt.biz_sol_plugin_example-f5mPFyjNPb7630wUyZLlzg==/base.apk!/lib/x86_64, /system/lib64, /system_ext/lib64]]
E/AndroidRuntime(14564):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
E/AndroidRuntime(14564):     at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime(14564):     at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime(14564):     ... 15 more
I/Process (14564): Sending signal. PID: 14564 SIG: 9

 


Duo_Liang | Posts: 3776

Reply to: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;

0 votes

Hi there,

 

Thanks for your post! Have you added the Utilities SDK to your project?

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off