This is my build.gradle file. I have followed this tutorial.
repositories {
mavenCentral()
jcenter()
mavenLocal()
maven {
Put downloaded sdk into root directory and add
maven {
url "${project.rootDir}/creativesdk-repo"//your sdk name as it is
}
in Application's build.grade file under the "allprojects/repositories" section: as follow
allprojects {
repositories {
mavenCentral()
jcenter()
maven {
url "${project.rootDir}/creativesdk-repo"
}
}
}
make sure to add the packaging options to the Application's build.grade file under the "android" section:
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
}