Hi Erel!
I'm working on a project update of a sqlite database using the dropbox services but is going some errors when using the DropBox Sync Library. Here is the error:
LogCat connected to: B4A-Bridge: motorola XT1069
--------- beginning of main
running waiting messages (1)
~i:** Activity (main) Resume **
~i:** Service (service1) Destroy **
~i:** Service (service1) Create **
~i:** Service (service1) Start **
Connected to B4A-Bridge (Wifi)
Installing file.
~i:** Activity (main) Pause, UserClosed = false **
PackageAdded: package
ber.com.br.consultasaldo
** Activity (main) Create, isFirst = true **
main_activity_create (B4A line: 72)
manager.Initialize(key, secret, "manager")
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/dropbox/sync/android/DbxAccountManager;
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at ober.com.br.consultasaldo.main._activity_create(main.java:257)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:165)
at ober.com.br.consultasaldo.main.afterFirstLayout(main.java:84)
at ober.com.br.consultasaldo.main.access$100(main.java:16)
at ober.com.br.consultasaldo.main$WaitForLayout.run(main.java:72)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5312)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dropbox.sync.android.DbxAccountManager" on path: DexPathList[[zip file "/data/app/ober.com.br.consultasaldo-1/base.apk"],nativeLibraryDirectories=[/data/app/ober.com.br.consultasaldo-1/lib/arm, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 16 more
Suppressed: java.lang.ClassNotFoundException: com.dropbox.sync.android.DbxAccountManager
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 17 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
~i:** Activity (main) Resume **
My device is Moto G2.
Best Regards
Abel