<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230452#M12534</link>
    <description>&lt;P&gt;The Dropbox support website still links to the 2.1.2 SDK documenation, which of course still refers to OkHttp3Requestor.INSTANCE.&amp;nbsp; If you are on to version 3.x.x now, shouldn't your website link to the 3.x.x documentation?&amp;nbsp; (Start at &lt;A href="http://www.dropbox.com/developers" target="_blank"&gt;www.dropbox.com/developers&lt;/A&gt; and click on Java, then the Documenation tab, and then "full documenation".)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2017 17:07:41 GMT</pubDate>
    <dc:creator>Robert S.138</dc:creator>
    <dc:date>2017-07-03T17:07:41Z</dc:date>
    <item>
      <title>OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230288#M12528</link>
      <description>&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DbxRequestConfig.Builder a = DbxRequestConfig.&lt;SPAN&gt;newBuilder&lt;/SPAN&gt;(&lt;SPAN&gt;"MyAppName"&lt;/SPAN&gt;);&lt;BR /&gt;DbxRequestConfig.Builder b = a.withHttpRequestor(OkHttp3Requestor.INSTANCE);&lt;BR /&gt;DbxRequestConfig requestConfig = b.build();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The error is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:(97, 70) error: cannot find symbol variable INSTANCE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:21:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230288#M12528</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2019-05-29T09:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230321#M12529</link>
      <description>&lt;P&gt;OK, I got this to work, but I don't really understand what is going on, so if anyone can verify that this is right, I would appreciate it.&amp;nbsp; I replaced:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DbxRequestConfig.Builder a = DbxRequestConfig.&lt;SPAN&gt;newBuilder&lt;/SPAN&gt;(&lt;SPAN&gt;"TuneLabPianoTuner/2.3"&lt;/SPAN&gt;);&lt;BR /&gt;DbxRequestConfig.Builder b = a.withHttpRequestor(OkHttp3Requestor.INSTANCE);&lt;BR /&gt;DbxRequestConfig requestConfig = b.build();&lt;BR /&gt;&lt;SPAN&gt;sDbxClient &lt;/SPAN&gt;= &lt;SPAN&gt;new &lt;/SPAN&gt;DbxClientV2(requestConfig, Main.&lt;SPAN&gt;DBaccessToken&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;with this code:&lt;/P&gt;&lt;PRE&gt;DbxRequestConfig.Builder b = DbxRequestConfig.&lt;SPAN&gt;newBuilder&lt;/SPAN&gt;(&lt;SPAN&gt;"TuneLabPianoTuner/2.3"&lt;/SPAN&gt;);&lt;BR /&gt;DbxRequestConfig requestConfig = b.build();&lt;BR /&gt;&lt;SPAN&gt;sDbxClient &lt;/SPAN&gt;= &lt;SPAN&gt;new &lt;/SPAN&gt;DbxClientV2(requestConfig, Main.&lt;SPAN&gt;DBaccessToken&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;and avoided the whole issue with OkHttp2Requestor.INSTANCE.&amp;nbsp; I briefly tested my application, and it did indeed access my dropbox files.&amp;nbsp; So what, if anything, am I missing by not augementing my DbxRequestionConfig.Builder ?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 19:06:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230321#M12529</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2017-07-02T19:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230447#M12533</link>
      <description>&lt;P&gt;The &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/http/OkHttp3Requestor.html" target="_self"&gt;OkHttp3Requestor&lt;/A&gt;.INSTANCE was &lt;A href="https://github.com/dropbox/dropbox-sdk-java/releases/tag/3.0.0" target="_self"&gt;removed in v3.0.0&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can still use &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/http/OkHttp3Requestor.html" target="_self"&gt;OkHttp3Requestor&lt;/A&gt; &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/395d463840778b4c6ec730aef82b0a9dbee10f8e/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxClientFactory.java#L18" target="_self"&gt;as shown in this example&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your solution of removing the use of &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/http/OkHttp3Requestor.html" target="_self"&gt;OkHttp3Requestor&lt;/A&gt; entirely is also fine. In that case, the SDK&amp;nbsp;would use &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/http/StandardHttpRequestor.html" target="_self"&gt;StandardHttpRequestor&lt;/A&gt;&amp;nbsp;instead. Which to use if up to you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 15:59:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230447#M12533</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-03T15:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230452#M12534</link>
      <description>&lt;P&gt;The Dropbox support website still links to the 2.1.2 SDK documenation, which of course still refers to OkHttp3Requestor.INSTANCE.&amp;nbsp; If you are on to version 3.x.x now, shouldn't your website link to the 3.x.x documentation?&amp;nbsp; (Start at &lt;A href="http://www.dropbox.com/developers" target="_blank"&gt;www.dropbox.com/developers&lt;/A&gt; and click on Java, then the Documenation tab, and then "full documenation".)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 17:07:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230452#M12534</guid>
      <dc:creator>Robert S.138</dc:creator>
      <dc:date>2017-07-03T17:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230453#M12535</link>
      <description>Thanks for pointing that out! I'll ask the team to get that updated.</description>
      <pubDate>Mon, 03 Jul 2017 17:09:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/OkHttp3Requestor-INSTANCE-compile-error-after-updating-Java-SDK/m-p/230453#M12535</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-03T17:09:04Z</dc:date>
    </item>
  </channel>
</rss>

