java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
Monday, September 20, 2021 at 04:59amAfter integrating SDK , I am getting the error while initializing orchestrator and error is below :-
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.vasco.digipass.sdk.utils.utilities.UtilitiesSDK" on path: DexPathList[[zip file "/data/app/com.comviva.onespansdkintegration-6tbsd6AZ2w_7ynvzLnx17Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.comviva.onespansdkintegration-6tbsd6AZ2w_7ynvzLnx17Q==/lib/arm64, /system/lib64]]
Reply to: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
Monday, September 20, 2021 at 11:42amHi Priya,
From the error message, it sounds like a reference issue which might be related to your build.gradle configurations. Are you referring the Orchestration SDK (along with other Mobile Security Suite SDKs) as .aar files or maven references? If you checked the sample application downloaded with Orchestration SDK (..\Orchestration SDK 5.4.1\Orchestration SDK\Android\Sample\app\build.gradle), it's like below where the UtilitiesSDK located in the /Bin/maven folder:
repositories {
maven {
url 'https://maven.google.com'
name 'google'
}
flatDir {
dirs 'aars'
}
maven {
// Here you can configure the maven repository for your production (or any other) environment
url '../../Bin/maven/'
}
}
Duo
Reply to: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
Friday, January 7, 2022 at 11:57pmThanks for the information, I will try to figure it out for more.
Reply to: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
Saturday, February 5, 2022 at 03:38amThat's good to know! Thank you!
Reply to: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/vasco/digipass/sdk/utils/utilities/UtilitiesSDK;
Sunday, March 26, 2023 at 02:29amThat's good to know! Thank you!
https://community.onespan.com/forum/javalangnoclassdeffounderror-failed-resolution-lcomvascodigipasssdkutilsutilitiesutilitiessdkfontbunch