Reputation: 2053
So I feel like I've exhausted all options to try and get this to work and is driving me f***** crazy.
I'm trying to implement the adobe creative SDK. I have followed this tutorial very attentively but it's still not working.
All I get when clicking sync with grade etc is the following error:
Error:(41, 13) Failed to resolve: com.adobe.creativesdk:image:4.0.0
<a href="openFile">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Here's my build.grade file:
apply plugin: 'com.android.application'
apply plugin: 'maven'
repositories {
mavenCentral()
jcenter()
maven {
url "${project.rootDir}/creativesdk-repo" //ADD THE CORRECT LOCATION OF THE CREATIVESDK LIBRARY FILES
}
}
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "editor.test"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META- INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.adobe.creativesdk:image:4.0.0'
}
If anyone can help, it will save my sanity.
Also, I've looked at the following questions and they didn't work either:
Android Studio Error when adding Adobe Creative SDK
Upvotes: 1
Views: 1191
Reputation: 1249
The newest Android SDK is no longer downloadable. Instead, you need to change the URL to:
url 'https://repo.adobe.com/nexus/content/repositories/releases/'
Check Adobe documentation for more details.
Upvotes: 2
Reputation: 360
I ran into the same problem. The documentation is wrong.
The line should be:
maven {
url "${project.rootDir}/creativesdk-repo/release"
}
Upvotes: 4