Android Question DropboxV2 library cannot run dbxFiles_DownloadFinished

NGUYEN TUAN ANH

Active Member
Licensed User
Dear All,
I am using DropboxV2, Vesion 0.44 Library with dropbox-sdk-java-5.0.jar
But from April 13, 2022, Sub
dbxFiles_DownloadFinished(success As Boolean, meta As FileMetadata, error As String) and
Wait For dbxFiles_DownloadFinished(success1 As Boolean, meta As FileMetadata, error As String) not finish If no file found
I think Dropbox has changed something, it requires us to fix the DropboxV2 library
Could you please help me .!
Thank you very much
 
Last edited:

netsistemas

Active Member
Licensed User
Longtime User
me too and solved:
Download new versión from:
LastVersion 5.2 : dropbox-sdk-java-5.2.0.jar
or other site.

Copy this file to library folder
C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries

rename this file whith the previous name used:
dropbox-core-sdk-3.0.10

OR BETTER:


Edit and change "DropboxV2.xml" (in end of file)

<version>0.44</version>
<comment>The Dropbox library allows you to communicate with Dropbox</comment>
<author>DonManfred (wrapper)</author>
<dependsOn>dropbox-sdk-java-5.2.0</dependsOn>
<dependsOn>jackson-core-2.7.4</dependsOn>


This RUN FOR ME. Today 20-abrl.2022

All are relation with this:
 
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Copy this file to library folder
C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries
WRONG path. It should always be placed in the ADDITIONAL Library folder.
Edit and change "DropboxV2.xml" (in end of file)
That´s the correct solution to adapt the library reference.
 
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
me too and solved:
Download new versión from:
LastVersion 5.2 : dropbox-sdk-java-5.2.0.jar
or other site.

Copy this file to library folder
C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries

rename this file whith the previous name used:
dropbox-core-sdk-3.0.10

OR BETTER:


Edit and change "DropboxV2.xml" (in end of file)

<version>0.44</version>
<comment>The Dropbox library allows you to communicate with Dropbox</comment>
<author>DonManfred (wrapper)</author>
<dependsOn>dropbox-sdk-java-5.2.0</dependsOn>
<dependsOn>jackson-core-2.7.4</dependsOn>


This RUN FOR ME. Today 20-abrl.2022

All are relation with this:
Thank you very much .!
 
Upvote 0

Gavins

Member
Licensed User
Longtime User
I've tried this but I get the following error:

Compiling generated Java code. Error
B4A line: 851
config = Null
javac 1.8.0_331
src\cs\FormFillPlus\main.java:1543: error: cannot access DbxRequestConfig
mostCurrent._config = (de.donmanfred.dbxv2.DbxRequestConfigWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new de.donmanfred.dbxv2.DbxRequestConfigWrapper(), (com.dropbox.core.DbxRequestConfig)(anywheresoftware.b4a.keywords.Common.Null));
^
bad class file: C:\Program Files (x86)\Anywhere Software\Basic4android\Additional Libraries\dropbox-sdk-java-5.2.0.jar(com/dropbox/core/DbxRequestConfig.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

The line in question is:

config = null

but if i rem that and move on it moves up to:

client.Initialize("Dropbox",config,token,dbxhost)

Any ideas please?
 
Upvote 0
Top