<?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: How to add dropbox-core-sdk java using gradle in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418355#M22511</link>
    <description>&lt;P&gt;That '0-SNAPSHOT' version of the dependency would be if you're building the SDK from source. That's only really necessary if you need to modify the SDK for some reason.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, I&amp;nbsp;recommend just including the pre-built copy of the library as covered &lt;A href="https://github.com/dropbox/dropbox-sdk-java#setup" target="_self"&gt;here&lt;/A&gt;. That's the first line you have commented out in yours. Do you still get an error if you switch to that one?&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 13:54:07 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-05-08T13:54:07Z</dc:date>
    <item>
      <title>How to add dropbox-core-sdk java using gradle</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418157#M22509</link>
      <description>&lt;P&gt;I'm trying to use dropbox in my android app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize this is more of a gradle question then a dropbox question. I looked at the gradle docs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.gradle.org/current/userguide/userguide.html" target="_blank" rel="noopener"&gt;https://docs.gradle.org/current/userguide/userguide.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and the readme.md:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/ReadMe.md" target="_blank" rel="noopener"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/ReadMe.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still can't figure how to point gradle to the implementation files required by dropbox-core-sdk. Using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    dependencies {
        classpath 'com.android.tools.build:gradle:3.6.3'

        implementation group: 'com.dropbox.core', name: 'dropbox-core-sdk', version: '0-SNAPSHOT', changing: true
        //implementation 'com.dropbox.core:dropbox-core-sdk:3.1.3'
        //implementation fileTree(dir: 'libs', include: ['*.jar'])
    }&lt;/PRE&gt;
&lt;P&gt;I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Could not find method implementation() for arguments [{group=com.dropbox.core, name=dropbox-core-sdk, version=0-SNAPSHOT, changing=true}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 00:42:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418157#M22509</guid>
      <dc:creator>jonpb</dc:creator>
      <dc:date>2020-05-08T00:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to add dropbox-core-sdk java using gradle</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418355#M22511</link>
      <description>&lt;P&gt;That '0-SNAPSHOT' version of the dependency would be if you're building the SDK from source. That's only really necessary if you need to modify the SDK for some reason.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, I&amp;nbsp;recommend just including the pre-built copy of the library as covered &lt;A href="https://github.com/dropbox/dropbox-sdk-java#setup" target="_self"&gt;here&lt;/A&gt;. That's the first line you have commented out in yours. Do you still get an error if you switch to that one?&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 13:54:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418355#M22511</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-08T13:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to add dropbox-core-sdk java using gradle</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418388#M22514</link>
      <description>&lt;P&gt;Thanks Greg, that's a big help, I was looking for the jar, and skimmed over that download link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out it was Android Studio (I guess) I created a new app selecting Empty Activity and it didn't setup gradle correctly. I created a new one with Bssic Activity and now it works. Now I just have remove all the UI stuff the template created &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 15:40:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-add-dropbox-core-sdk-java-using-gradle/m-p/418388#M22514</guid>
      <dc:creator>jonpb</dc:creator>
      <dc:date>2020-05-08T15:40:42Z</dc:date>
    </item>
  </channel>
</rss>

