Dear All,
i need some help, i have created library from android studio to b4a library when my b4a version 8 is work fine and don't have problem. after i'm upgrade my b4a version 8 to b4a 9.50, my library can't run anymore and show error like this :
please help me, i have run jetifier for library that I have made. but i can't run jetifier for AAR file (SDK from vendor), jetifier give me message like this :
i need some help, i have created library from android studio to b4a library when my b4a version 8 is work fine and don't have problem. after i'm upgrade my b4a version 8 to b4a 9.50, my library can't run anymore and show error like this :
B4X:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/doku/sdkocov2/BaseSDKOCO;
at com.doku.sdkocov2.DirectSDK.getResponse(DirectSDK.java:110)
at com.kliktobuy.dokusdk.DokuSDK.connectSDK(DokuSDK.java:182)
at com.kliktobuy.dokusdk.DokuSDK.StartPayment(DokuSDK.java:162)
at com.kliktobuy.build.customer.activitycheckoutfinish._activity_resume(activitycheckoutfinish.java:631)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at com.kliktobuy.build.customer.activitycheckoutfinish.afterFirstLayout(activitycheckoutfinish.java:110)
at com.kliktobuy.build.customer.activitycheckoutfinish.access$000(activitycheckoutfinish.java:17)
at com.kliktobuy.build.customer.activitycheckoutfinish$WaitForLayout.run(activitycheckoutfinish.java:82)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.doku.sdkocov2.BaseSDKOCO" on path: DexPathList[[zip file "/data/app/com.kliktobuy.build.customer-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 24 more
Suppressed: java.lang.NoClassDefFoundError: com.doku.sdkocov2.BaseSDKOCO
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:226)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
at dalvik.system.DexPathList.findClass(DexPathList.java:321)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
... 26 more
Suppressed: java.lang.ClassNotFoundException: com.doku.sdkocov2.BaseSDKOCO
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 25 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
please help me, i have run jetifier for library that I have made. but i can't run jetifier for AAR file (SDK from vendor), jetifier give me message like this :