<?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: Java API - V2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165274#M5906</link>
    <description>&lt;P&gt;I have already added this .. to solve my problem ... but why is it marked provided ?&lt;/P&gt;
&lt;P&gt;Your software has a dependency on it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Provided is typically for things that are provided by the run time environment like JDK or things that may need a license.&lt;/P&gt;
&lt;P&gt;Your install notes should state that this needs to be installed, and/or this provided line should be changed to compiled (the default).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2016 03:47:04 GMT</pubDate>
    <dc:creator>RTS S.</dc:creator>
    <dc:date>2016-01-21T03:47:04Z</dc:date>
    <item>
      <title>Java API - V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165272#M5904</link>
      <description>&lt;P&gt;I am trying to ugrade my Android App to V2. I have added the new API to the Eclipse Project using the Maven dependency.&lt;/P&gt;
&lt;P&gt;There appears to be a dependency on SquareOK.com that I am not getting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I call:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DbxClientV2 GetClient(String Token) {0&lt;BR /&gt;&amp;nbsp; String userLocale = Locale.getDefault().toString();&lt;BR /&gt;&amp;nbsp; DbxRequestConfig requestConfig = new DbxRequestConfig("examples-v2-demo", userLocale, OkHttpRequestor.Instance);&lt;BR /&gt;&amp;nbsp; return new DbxClientV2(requestConfig, Token);&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;I successfully received a token from:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;String token = Auth.getOAuth2Token();&lt;/P&gt;
&lt;P&gt;And used that to call the above function.&lt;/P&gt;
&lt;P&gt;I am getting the following ClassPath loading error:&lt;/P&gt;
&lt;P&gt;01-20 08:32:15.350: I/Timeline(22716): Timeline: Activity_idle id: android.os.BinderProxy@37d705b8 time:21337241&lt;BR /&gt;01-20 08:33:02.646: E/AndroidRuntime(22716): FATAL EXCEPTION: pool-1-thread-1&lt;BR /&gt;01-20 08:33:02.646: E/AndroidRuntime(22716): Process: com.rtsservices.test, PID: 22716&lt;BR /&gt;01-20 08:33:02.646: E/AndroidRuntime(22716): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/okhttp/OkHttpClient;&lt;BR /&gt;01-20 08:33:02.646: E/AndroidRuntime(22716): at com.dropbox.core.http.OkHttpRequestor.defaultOkHttpClient(OkHttpRequestor.java:36)&lt;BR /&gt;01-20 08:33:02.646: E/AndroidRuntime(22716): at com.dropbox.core.http.OkHttpRequestor.&amp;lt;clinit&amp;gt;(OkHttpRequestor.java:47)&lt;BR /&gt;01-20 08:33:02.646: E/AndroidRuntime(22716): at com.rtsservices.Accounts.GetClient(Accounts.java:104)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165272#M5904</guid>
      <dc:creator>RTS S.</dc:creator>
      <dc:date>2019-05-29T09:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Java API - V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165273#M5905</link>
      <description>&lt;P&gt;Hi RTS, if you want to use OkHttp, you'll need to add it to your project, as &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/a69511413193b00b64621d193d9d7ea6a539d083/src/com/dropbox/core/http/OkHttpRequestor.java#L24" target="_blank" rel="nofollow noreferrer"&gt;noted here&lt;/A&gt;. It's only &lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/pom.xml#L61" target="_blank" rel="nofollow noreferrer"&gt;specified with the "provided" scope&lt;/A&gt;&amp;nbsp;by the SDK's pom.xml.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 02:27:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165273#M5905</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-01-21T02:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Java API - V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165274#M5906</link>
      <description>&lt;P&gt;I have already added this .. to solve my problem ... but why is it marked provided ?&lt;/P&gt;
&lt;P&gt;Your software has a dependency on it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Provided is typically for things that are provided by the run time environment like JDK or things that may need a license.&lt;/P&gt;
&lt;P&gt;Your install notes should state that this needs to be installed, and/or this provided line should be changed to compiled (the default).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 03:47:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165274#M5906</guid>
      <dc:creator>RTS S.</dc:creator>
      <dc:date>2016-01-21T03:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java API - V2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165275#M5907</link>
      <description>&lt;P&gt;That's marked provided because it isn't strictly necessary when using the SDK. It's just an optional alternative to the standard&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/a69511413193b00b64621d193d9d7ea6a539d083/src/com/dropbox/core/http/HttpRequestor.java#L10" target="_blank" rel="nofollow noreferrer"&gt;HttpRequestor&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 05:06:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-API-V2/m-p/165275#M5907</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-01-21T05:06:45Z</dc:date>
    </item>
  </channel>
</rss>

