【发布时间】:2015-03-31 10:01:50
【问题描述】:
这是我的 build.gradle 文件。 我已经关注this 教程。
repositories {
mavenCentral()
jcenter()
mavenLocal()
maven {
url "${project.rootDir}/mvn-repo/release" //ADD THE CORRECT LOCATION OF THE CREATIVESDK LIBRARY FILES
}
}
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
packagingOptions {
exclude 'META- INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
defaultConfig {
applicationId "com.example.test"
minSdkVersion 11
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':libraries:collage-views')
compile 'com.aviary.android.feather.sdk:aviary-sdk:3.6.5'
compile 'com.adobe.creativesdk:behance:0.2.10'
compile 'com.adobe.creativesdk:image:4.0.0'
// Support libraries
compile 'com.android.support:support-v4:21.0.3'
}
我收到了这个错误
错误:找不到:com.adobe.creativesdk:behance:0.2.10 打开文件
在项目结构对话框中打开错误:找不到:com.aviary.android.feather.sdk:aviary-sdk:3.6.5 打开文件
在项目结构对话框中打开错误:找不到:com.adobe.creativesdk:image:4.0.0 打开文件
在项目结构对话框中打开
我需要提供${project.rootDir}/mvn-repo/release 的路径吗?
还是需要下载 sdk 并手动将其添加到某处?
我是android studio的新手,所以不太了解。
【问题讨论】:
标签: android maven android-studio aviary