I have copied every single step of Aviary setup guide. During Gradle build, it gives me this:
Error:Configuration with name 'default' not found.
Installation Guide:
Adobe Creative SDK Documentation
Aviary SDK | Android Documentation
Files :
settings.gradle:
include ':app'
build.gradle(Module: app)
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.adobe.logopros"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:design:22.2.1'
compile 'com.adobe.creativesdk.foundation:auth:0.7.329'
compile 'com.adobe.creativesdk:image:4.0.0'
}
With Gradle, setting up with Aviary is extremely simple. Follow this approach only if you do not plan on customizing the SDK. Otherwise, you will need to add the SDK as its own module in your project directory. See section 4.2 for an in-depth walkthrough of this.
To start, open the build.gradle file of your Application in Android Studio. Please note that this is different from the build.gradle file of your root project.
Make sure that in the repositories block, you have both Maven Central and Aviary's Maven repository. It should look something like this:
In this same file, add the following to the dependencies block in order to build your project with the Aviary SDK:
Finally, within packagingOptions in the android block, add the following in order to prevent duplicate copying of these files:
Here is an example how the build.gradle file should look:
(Note that the minSdkVersion is 10.)