Are you using the latest version and have you carefully followed all installation steps (found here)?
If so, post a small example program in which the error occurs.
Im using the latest version, 12.80.
The program crash with this message
B4X:
Token available (Activity Create. Try to enable Dropbox with this token
*** Service (httputils2service) Create ***
--------- beginning of crash
java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/JavaNetCookieJar;
at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.sharedInit(OkHttpClientWrapper.java:136)
at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.Initialize(OkHttpClientWrapper.java:94)
at anywheresoftware.b4a.samples.httputils2.httputils2service._service_create(httputils2service.java:217)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
at anywheresoftware.b4a.samples.httputils2.httputils2service.onCreate(httputils2service.java:55)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4286)
at android.app.ActivityThread.access$1600(ActivityThread.java:250)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1996)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:250)
at android.app.ActivityThread.main(ActivityThread.java:7803)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
Caused by: java.lang.ClassNotFoundException: okhttp3.JavaNetCookieJar
... 16 more
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.