You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile and run SDK on Java 7 or with Android SDK 25
What should happen:
It should run without any errors.
What happens:
Java throws java.lang.NoClassDefFoundError; Caused by: java.lang.ClassNotFoundException: Didn't find class "java.util.Base64"
Traceback
06-19 17:28:56.503 3509-3527/? E/AndroidRuntime: FATAL EXCEPTION: Thread-4
Process: nl.maxvdbosch.bunqwatch, PID: 3509
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Base64;
at com.bunq.sdk.security.SecurityUtils.getPublicKeyFormattedString(SecurityUtils.java:272)
at com.bunq.sdk.context.ApiContext.initializeInstallation(ApiContext.java:175)
at com.bunq.sdk.context.ApiContext.initialize(ApiContext.java:163)
at com.bunq.sdk.context.ApiContext.create(ApiContext.java:127)
at com.bunq.sdk.context.ApiContext.create(ApiContext.java:109)
at com.bunq.sdk.context.ApiContext.create(ApiContext.java:101)
at nl.maxvdbosch.bunqwatch.MainActivity.initBunqSdk(MainActivity.java:80)
at nl.maxvdbosch.bunqwatch.MainActivity.lambda$onCreate$0$MainActivity(MainActivity.java:48)
at nl.maxvdbosch.bunqwatch.MainActivity$$Lambda$0.run(Unknown Source)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.ClassNotFoundException: Didn't find class "java.util.Base64" on path: DexPathList[[zip file "/system/framework/com.google.android.wearable.jar", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/base.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_dependencies_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_0_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_1_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_2_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_3_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_4_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_5_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_6_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_7_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_8_apk.apk", zip file "/data/app/nl.maxvdbosch.bunqwatch-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/nl.maxvdbosch.bunqwatch-1/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.bunq.sdk.security.SecurityUtils.getPublicKeyFormattedString(SecurityUtils.java:272)
at com.bunq.sdk.context.ApiContext.initializeInstallation(ApiContext.java:175)
at com.bunq.sdk.context.ApiContext.initialize(ApiContext.java:163)
at com.bunq.sdk.context.ApiContext.create(ApiContext.java:127)
at com.bunq.sdk.context.ApiContext.create(ApiContext.java:109)
at com.bunq.sdk.context.ApiContext.create(ApiContext.java:101)
at nl.maxvdbosch.bunqwatch.MainActivity.initBunqSdk(MainActivity.java:80)
at nl.maxvdbosch.bunqwatch.MainActivity.lambda$onCreate$0$MainActivity(MainActivity.java:48)
at nl.maxvdbosch.bunqwatch.MainActivity$$Lambda$0.run(Unknown Source)
at java.lang.Thread.run(Thread.java:761)
Steps to reproduce:
What should happen:
What happens:
java.lang.NoClassDefFoundError
;Caused by: java.lang.ClassNotFoundException: Didn't find class "java.util.Base64"
Traceback
SDK version and environment
Response id
Extra info:
The text was updated successfully, but these errors were encountered: