I try to use new Granular Dependency for Google Play Service 6.5.+
In my gradle I set:
dependencies {
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.google.maps.android:android-maps-utils:0.3'
compile 'com.google.android.gms:play-services-base:6.5.87'
compile 'com.google.android.gms:play-services-location:6.5.87'
compile 'com.google.android.gms:play-services-maps:6.5.87'
}
but I get back this error:
Error:Execution failed for task ':app:processDebugResources'.
Error: more than one library with package name 'com.google.android.gms'
You can temporarily disable this error with android.enforceUniquePackageName=false
However, this is temporary and will be enforced in 1.0
I've all SDK updated.
What's the correct way to use this new feature? Thanks.
SOLVED
The problem is that android-maps-utils already have the Play Service 6.5.+, so the error.