Android Question DropBox V2. Any example?

Juan Vargas (Bioagro)

Member
Licensed User
Have anybody a simple example of a program using dropbox v2?
I have an application that uses dropbox, but after update to B4A 12.80, it doesnt works.
 

MicroDrie

Well-Known Member
Licensed User
Longtime User
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.

edit: add link
 
Last edited:
Upvote 0

Juan Vargas (Bioagro)

Member
Licensed User
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
 
Upvote 0
Top