Android Question DropBox sync library with DropBox SDK 2.0.0.

peter93

Member
Licensed User
Longtime User
Hi, I need help for this error:
I use the Dropbox sync Library with the new dropbox-android-sync-sdk-2.0.0.

this line is in error : manager.Initialize(AppKey, AppSecret, "manager")

mainafterFirstLayout (java line: 98)
java.lang.NoSuchMethodError: no method with name='httpRequest' signature='(Ljava/lang/String;[BI)Lcom/dropbox/sync/android/NativeHttp$NativeHttpResponse;' in class Lcom/dropbox/sync/android/NativeHttp;

at com.dropbox.sync.android.NativeHttp.nativeClassInit(Native Method)
at com.dropbox.sync.android.NativeHttp.nativeClassInit(Native Method)
at com.dropbox.sync.android.NativeHttp.<clinit>(NativeHttp.java:447)
at com.dropbox.sync.android.NativeLib.<init>(NativeLib.java:33)
at com.dropbox.sync.android.NativeLib.<clinit>(NativeLib.java:11)
at com.dropbox.sync.android.CoreAccountManager.initNativeLib(CoreAccountManager.java:155)
at com.dropbox.sync.android.CoreAccountManager.<init>(CoreAccountManager.java:126)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:149)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:115)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:48)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:487)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:210)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:170)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at home.macavef.main.afterFirstLayout(main.java:98)
at home.macavef.main.access$100(main.java:16)
at home.macavef.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
I did not find the dropbox-android-sync-sdk-1.1.1. on Dropbox.
 
Last edited:

peter93

Member
Licensed User
Longtime User

I made a new test with Dropbox sync Library 1.20 but I have this error:

** Activity (main) Create, isFirst = true **
main_activity_create (B4A line: 137)
manager.Initialize(AppKey, AppSecret, "manager")
java.lang.NoSuchMethodError: no method with name='httpRequest' signature='(Ljava/lang/String;[BI)Lcom/dropbox/sync/android/NativeHttp$NativeHttpResponse;' in class Lcom/dropbox/sync/android/NativeHttp;

at com.dropbox.sync.android.NativeHttp.nativeClassInit(Native Method)
at com.dropbox.sync.android.NativeHttp.nativeClassInit(Native Method)
at com.dropbox.sync.android.NativeHttp.<clinit>(NativeHttp.java:447)
at com.dropbox.sync.android.NativeLib.<init>(NativeLib.java:33)
at com.dropbox.sync.android.NativeLib.<clinit>(NativeLib.java:11)
at com.dropbox.sync.android.CoreAccountManager.initNativeLib(CoreAccountManager.java:155)
at com.dropbox.sync.android.CoreAccountManager.<init>(CoreAccountManager.java:126)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:149)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:115)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:48)
at home.macavef.main._activity_create(main.java:655)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
at home.macavef.main.afterFirstLayout(main.java:98)
at home.macavef.main.access$100(main.java:16)
at home.macavef.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
This seems to be the same error ?
 
Upvote 0
Top