google maps - How to solve 2 libraries with same package name in my dependencies in Android Studio? -
i have below dependencies in project:
compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:21.0.2' compile 'com.google.android.gms:play-services:6.5.87' compile project(path: ':backend', configuration: 'android-endpoints') compile project(':library') compile files('libs/volley.jar') compile('com.google.maps.android:android-maps-utils:0.3+')
now while syncing got below error:
error:execution failed task ':app:processdebugresources'.
error: more 1 library package name 'com.google.maps.android' can temporarily disable error android.enforceuniquepackagename=false however, temporary , enforced in 1.0
i have tried below same error got:
compile('com.google.maps.android:android-maps-utils:0.3') { exclude group: 'com.google.android.gms' }
i have tried below error remains:
compile('com.google.maps.android:android-maps-utils:0.3') { transitive = false }
i using below:
classpath 'com.android.tools.build:gradle:1.0.0'
what should do??
i tried following , worked:
so problem not at
compile('com.google.maps.android:android-maps-utils:0.3+')
it duplicates in following lines:
compile project(path: ':backend', configuration: 'android-endpoints') compile project(':library')
please check if included package named com.google.maps.android
.
Comments
Post a Comment