Kasun Kanchana
Member
I'm developing a QR Scanning app using [B4X] [B4XPages] Barcode Reader and other libraries. I'm using HttpJob to download an image file from the internet. I'm not using the OkHTTPUtils2 since the BCToast library support ("I guess") HttpJob.
These are the libraries I'm using,
This is the error I'm getting,
I can't upload the whole project. If anyone knows how to fix this issue, please be kind enough to let me know. thank you
These are the libraries I'm using,
- AppCompact
- B4XDrawer
- B4XPages
- BCToast
- Camera
- Core
- JdbcSQL
- KeyvalueStore
- Phone
- Reflection
- RuntimePermissions
- SQL
- xCustomlistview
- XUI
- XUI Views
This is the error I'm getting,
Error:
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
at okhttp3.Request$Builder.url(Unknown Source:2)
at anywheresoftware.b4h.okhttp.OkHttpClientWrapper$OkHttpRequest.InitializeGet(OkHttpClientWrapper.java:411)
at com.sarasavi.admin.cyp3r.httpjob._download(httpjob.java:104)
at com.sarasavi.admin.cyp3r.starter$ResumableSub_downloadimage.resume(starter.java:293)
at com.sarasavi.admin.cyp3r.starter._downloadimage(starter.java:245)
at com.sarasavi.admin.cyp3r.qrscan$ResumableSub_FoundBarcode.resume(qrscan.java:695)
at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48)
at java.lang.reflect.Method.invoke(Native Method)
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 anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:146)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:267)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.BA$2.run(BA.java:387)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/com.sarasavi.admin.cyp3r-DcfxEz6Q3rZhwLtSH5wTuQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.sarasavi.admin.cyp3r-DcfxEz6Q3rZhwLtSH5wTuQ==/lib/arm64, /system/lib64, /product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 25 more
I can't upload the whole project. If anyone knows how to fix this issue, please be kind enough to let me know. thank you