Dropbox Sync Library

DonManfred

Expert
Licensed User
Longtime User
You can an more up to date library here.
 

staticmike

Member
Licensed User
Longtime User
Worked through the tutorial but when I run my app in both "Emulator" and "Real" the app stops responding.

I am still using B4a version 2.71 so am not sure if this library is compatible or I need to buy the latest version.

Java JDK - 1.6.0_27
Android Jar - Android-16
Dropbox Library (3.0)

I have checked the libraries over and over again and all the instructions to no avail.

Thanks for any help you may be able to offer.


Looking at my code it is these lines that initiate the error -
The key and secret are correct.

B4X:
If FirstTime Then 'Strt Dropbox Link
      manager.Initialize(key,secret,"manager")
       End If





B4X:
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)
 

DonManfred

Expert
Licensed User
Longtime User
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
 

staticmike

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


Thanks for the Prompt Reply. I will search the forums for Google Drive integration than and as soon as I have finished this app will purchase the latest version.
Only been waiting in case I ran into some problems using the latest.
Thanks again.
 

Chicao99

Member
Licensed User
Longtime User
Hello, I can not find dropbox-sync-sdk-android.xml on the zip file that I downloaded from the website, so the library is not listed on my project, what should I do?
Tks in advance.
 

DonManfred

Expert
Licensed User
Longtime User

ilan

Expert
Licensed User
Longtime User
Hi i am using this lib lately and it worked really good until today one user sent me this:

Screenshot_20170702-140206.png


Any ideas what i should do?
 
Top