Star-Dust Expert Licensed User Longtime User Dec 28, 2017 #1 Using DropBoxHttpAPI 0.93 I generate the following error on this line. Code: Copy Dbx.Upload(Direct,"primanota.s3db","/","primanota.s3db") SDKMin = 14 and SDK_Target = 26 main_dupload_click (java line: 3368) java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/RequestBody; at anywheresoftware.b4a.samples.httputils2.httpjob._class_globals(httpjob.java:70) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186) at anywheresoftware.b4a.samples.httputils2.httpjob.innerInitialize(httpjob.java:23) at anywheresoftware.b4a.samples.httputils2.httpjob._initialize(httpjob.java:238) at b4a.example.dropbox._vvvvvvvvvv0(dropbox.java:2593) at it.tecnomedia.primanotapro.main._dupload_click(main.java:3368) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170) at anywheresoftware.b4a.BA.raiseEvent(BA.java:166) at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80) at android.view.View.performClick(View.java:5646) at android.view.View$PerformClick.run(View.java:22459) at android.os.Handler.handleCallback(Handler.java:761) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6523) Click to expand...
Using DropBoxHttpAPI 0.93 I generate the following error on this line. Code: Copy Dbx.Upload(Direct,"primanota.s3db","/","primanota.s3db") SDKMin = 14 and SDK_Target = 26 main_dupload_click (java line: 3368) java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/RequestBody; at anywheresoftware.b4a.samples.httputils2.httpjob._class_globals(httpjob.java:70) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186) at anywheresoftware.b4a.samples.httputils2.httpjob.innerInitialize(httpjob.java:23) at anywheresoftware.b4a.samples.httputils2.httpjob._initialize(httpjob.java:238) at b4a.example.dropbox._vvvvvvvvvv0(dropbox.java:2593) at it.tecnomedia.primanotapro.main._dupload_click(main.java:3368) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170) at anywheresoftware.b4a.BA.raiseEvent(BA.java:166) at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80) at android.view.View.performClick(View.java:5646) at android.view.View$PerformClick.run(View.java:22459) at android.os.Handler.handleCallback(Handler.java:761) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6523) Click to expand...
DonManfred Expert Licensed User Longtime User Dec 29, 2017 #2 Are you using the CLASS or the class compiled as library? Upvote 0
Star-Dust Expert Licensed User Longtime User Dec 29, 2017 #3 The library, I did not know that the class was distributed. Does the DripBoxHttp library depend on some other library? Upvote 0
The library, I did not know that the class was distributed. Does the DripBoxHttp library depend on some other library?
DonManfred Expert Licensed User Longtime User Dec 29, 2017 #4 https://www.b4x.com/android/forum/threads/dropbox-api-v2-all-http-all-using-httputils2.56842/ Try Download the source, compile it to a library using the newest b4a (and the newest okhttputils) and try again. Upvote 0
https://www.b4x.com/android/forum/threads/dropbox-api-v2-all-http-all-using-httputils2.56842/ Try Download the source, compile it to a library using the newest b4a (and the newest okhttputils) and try again.
Star-Dust Expert Licensed User Longtime User Dec 29, 2017 #5 Thanks, I'll try as soon as I return. The library okhttputils or okhttputils2? Upvote 0
Star-Dust Expert Licensed User Longtime User Dec 29, 2017 #7 Thanks Don, recompiling works well. Even if I do not explain why. Really thank you Upvote 0