I've got a project with a shared lib. The folder structure is the following:
RootProjects
that contains the folders lib
and app
.
In my settings.gradle I have
include ':app', ':..:lib:app'
and in build.gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':..:lib:app')
}
Now if I switch from:
classpath 'com.android.tools.build:gradle:1.5.0'
to
classpath 'com.android.tools.build:gradle:2.0.0-beta6'
I receive the following error from Android Studio:
cannot change dependencies of configuration ':..:lib:classpath' after it has been resolved