我一直在尝试正确导入这个库,开始为我的应用程序编写图像编辑组件.我目前在根目录中下载了'creativesdk-repo'文件夹,并按照本教程的说明操作:https: //creativesdk.adobe.com/docs/android/#/articles/gettingstarted/index.html.
本教程也是如此:https: //creativesdk.adobe.com/docs/android/#/articles/imageediting/index.html
我只是使用基本授权库时没有问题,但我的应用程序需要照片编辑功能.我最重要的问题(在许多问题中)位于应用程序的build.gradle文件中(而不是包含项目的build.gradle文件).
这是我的build.gradle文件中的代码:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
defaultConfig {
applicationId "com.example"
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/DEPENDENCIES'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.adobe.creativesdk.foundation:auth:0.3.94'
compile 'com.adobe.creativesdk.image:4.0.0'
}
Run Code Online (Sandbox Code Playgroud)
最后一行会显示一条错误消息:
错误:无法解析:com.adobe.creativesdk.image:4.0.0:打开文件
我相信这些消息意味着Adobe Creative SDK库的图像编辑部分无法识别.我甚至用Adobe的示例项目测试了它,它遇到了同样的问题.我该怎么做才能解决这个问题并开始编写应用程序的这一部分?