android - Failed to resolve: com.adobe.creativesdk.foundation:auth:0.9.1251 -
i'm having trouble android studio find adobe creative sdk.
i have downloaded sample github.
i have set key class per instruction.
my gradle file of application.
apply plugin: 'com.android.application' apply plugin: 'me.tatarka.retrolambda' android { compilesdkversion 25 buildtoolsversion "25.0.0" defaultconfig { applicationid "com.adobe.imageeditorui" minsdkversion 16 // minimum 16 targetsdkversion 25 versioncode 1 versionname "1.0" manifestplaceholders = [apppackagename: "${applicationid}"] } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } /* 2) compile java 1.8 or greater */ compileoptions { sourcecompatibility javaversion.version_1_8 targetcompatibility javaversion.version_1_8 } /* 3) exclude duplicate licenses */ packagingoptions { exclude 'meta-inf/license.txt' exclude 'meta-inf/license' exclude 'meta-inf/notice.txt' exclude 'meta-inf/notice' exclude 'meta-inf/dependencies' pickfirst 'androidmanifest.xml' } /* 4) enable jumbo mode */ dexoptions { jumbomode true } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) testcompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:25.1.0' compile 'com.android.support:design:25.1.0' compile 'com.adobe.creativesdk.foundation:auth:0.9.1251' compile 'com.adobe.creativesdk:image:4.8.4' compile "com.localytics.android:library:3.8.0" }
and main gradle file :
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' // note: not place application dependencies here; belong // in individual module build.gradle files /* 1) add gradle retrolambda plugin */ classpath 'me.tatarka:gradle-retrolambda:3.3.0-beta4' } } allprojects { repositories { jcenter() /* 2) add mavencentral */ mavencentral() /* 3) add creative sdk maven repo url */ maven { url 'https://repo.adobe.com/nexus/content/repositories/releases/' } maven { url 'http://maven.localytics.com/public' } } } task clean(type: delete) { delete rootproject.builddir }
but still having issue while sync project below :
--> failed resolve: com.adobe.creativesdk.foundation:auth:0.9.1251
--> failed resolve: com.adobe.creativesdk:image:4.8.4
you use aar library download com.adobe.creativesdk.foundation:auth:0.9.1251 above link
then place library folder , import it.
and library download above link , same again.
hope help.
Comments
Post a Comment