0

project Details:

version = android studio 3.0 dropbox api v2 = dropbox-core-sdk-2.0.6 and dropbox-core-sdk-3.0.5 (I tried both). compileSdkVersion = 26 buildToolsVersion = '26.0.2'

DbxRequestConfig config = new DbxRequestConfig("MyApp/1.0", "en_US");

Image shows the deprecated call of DbxRequestConfig

enter image description here

It is in the Dropbox jar file.

enter image description here

4
  • The API is deprecated, meaning it's old. Use the new version which you can easily find by browsing the javadocs Commented Nov 15, 2017 at 8:35
  • But this api is listed in newer version of dropbox.
    – Sujay
    Commented Nov 15, 2017 at 8:37
  • Deprecated != removed. There are Android API's that have been deprecated for multiple releases, they don't remove deprecated API's instantly Commented Nov 15, 2017 at 8:45
  • Thank you, Zoe issue is resolved.
    – Sujay
    Commented Nov 15, 2017 at 12:20

1 Answer 1

0

Per the documentation, the DbxRequestConfig(String clientIdentifier, String userLocale) constructor is deprecated, in favor of using DbxRequestConfig.newBuilder.

There's an example of using it here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.