In the Creative SDK for Android, we’ve broken the functionality into smaller dependencies so that developers can include only the pieces that they need, thereby reducing the size of their apps.
Note: Your Client ID must be approved for Production Mode by Adobe before you release your app.
Below is a table that contains all of the framework dependencies for each feature of the Creative SDK:
|Asset Browser UI Component|
|Behance UI Component|
|Client Auth API*|
|Creative Cloud Files API|
|Creative Cloud Libraries API|
|Lightroom Photos API|
|TypeKit UI Component|
|User Auth UI Component**|
*Note: Client Auth is required for all apps using the Creative SDK. **Note: User Auth is required for all components.
Adding dependencies to Gradle
To add Creative SDK dependencies to your Android project, open your Module
build.gradle file and locate the
dependencies block at the bottom of the file.
dependencies block, add the Creative SDK dependencies that you need.
An example of the correct format for an app using the Creative SDK Asset Browser UI and Creative Cloud Files API:
compile 'com.adobe.creativesdk.foundation:auth:0.9.2006-5' compile 'com.adobe.creativesdk.foundation:assetux:0.9.2006-5' compile 'com.adobe.creativesdk.foundation:assetcore:0.9.2006-5'
Note: for a more in-depth look at adding the Creative SDK repo to your app and writing Gradle files, see our Getting Started guide.