I know some topics already exist about that issue but I didn't find a solution.
So i'm trying to add a library to my project and when I Make Project
the following error message appears: Failed to notify project evaluation listener
.
My project's structure is as following:
MyApp
-libs
--color-picker
---src
---build.gradle
---settings.gradle
-build.gradle
-settings.gradle
Here's the app's settings.gradle:
include ':app'
include ':libs:color-picker'
And the lib's build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: 'com.android.library'
dependencies {
compile project(':libs:color-picker')
}
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 7
targetSdkVersion 22
}
}
allprojects {
repositories {
jcenter()
}
}
/**
* Global version names.
*/
ext {
propBuildToolsVersion = '22.0.1'
propCompileSdkVersion = 22
propMinSdkVersion = 7
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 2
propVersionName = '2.0'
}
Help!!