ok, thanks.Make sure to choose Dropbox Sync API when you create the app. However as written in the previous post it is not recommended to create new apps based on this API.
If FirstTime Then 'Strt Dropbox Link
manager.Initialize(key,secret,"manager")
End If
LogCat connected to: emulator-5554
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = true **
** Activity (mainscreen) Create, isFirst = true **
** Activity (mainscreen) Resume **
** Activity (mainscreen) Pause, UserClosed = false **
** Activity (preferences) Create, isFirst = true **
preferences_activity_create (java line: 286)
java.lang.NoClassDefFoundError: com.dropbox.sync.android.DbxAccountManager
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at com.md.Moolah.preferences._activity_create(preferences.java:286)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at com.md.Moolah.preferences.afterFirstLayout(preferences.java:89)
at com.md.Moolah.preferences.access$100(preferences.java:16)
at com.md.Moolah.preferences$WaitForLayout.run(preferences.java:74)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
I suggest NOT to use this library. No matter if your b4a version matches or not;
Dropbox has announced to stop the synclibrary in the next months...
Please find more infos about this here. Additional you find the most up to date Dropbox-Library there.
But maybe you need to update your B4A.
A.) v2.71 is really old
B.) V5.8 is most up to date
Dropbox has stopped support for sync-library.what should I do?
This library should not be used for new projects.
Check this https://www.dropboxforum.com/t5/API-support/increase-app-user-limit/td-p/60216
Hope it helps