We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Robert S.138
8 years agoHelpful | Level 7
OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3
This Android code was working fine with dropbox-core-sdk-2.1.1 but when I updated to dropbox-core-3.0.3, this code produced a compile error: DbxRequestConfig.Builder a = DbxRequestConfig.newBuild...
Greg-DB
Dropbox Staff
The OkHttp3Requestor.INSTANCE was removed in v3.0.0.
You can still use OkHttp3Requestor as shown in this example.
Your solution of removing the use of OkHttp3Requestor entirely is also fine. In that case, the SDK would use StandardHttpRequestor instead. Which to use if up to you.
Robert S.138
8 years agoHelpful | Level 7
The Dropbox support website still links to the 2.1.2 SDK documenation, which of course still refers to OkHttp3Requestor.INSTANCE. If you are on to version 3.x.x now, shouldn't your website link to the 3.x.x documentation? (Start at www.dropbox.com/developers and click on Java, then the Documenation tab, and then "full documenation".)
- Greg-DB8 years agoDropbox StaffThanks for pointing that out! I'll ask the team to get that updated.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!