exclude module: 'support-v4'
Would not work for me with a project dependency, the only way I could get it to work was via the following syntax:
configurations {
dependencies {
compile(project(':Android-SDK')) {
compile.exclude module: 'support-v4'
}
}
}
Where :Android-SDK is your project name.