0

How do I fix this?

Error:Execution failed for task ':androidmapsutils:processReleaseResources'.
> Error: A library uses the same package as this project: com.google.maps.android

2 Answers2

1

If you use enforceUniquePackageName=false you'll eventually stumble upon this bug -

Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'. java.util.zip.ZipException: duplicate entry: ... BuildConfig.class

and in order to fix that you'll have to check if some of your dependencies have multidex as a dependency in it and exclude it, for example the Facebook SDK -

compile('com.facebook.android:facebook-android-sdk:+') { 
        exclude group: 'com.android.support', module: 'multidex' 
    }

You can refer to this Stack Overflow and this Issue Tracker

hsm59
  • 1,991
  • 19
  • 25
0
compile project(path: ':backend', configuration: 'android-endpoints')
compile project(':library')

Check included package name

com.google.maps.android.
Harshit Trivedi
  • 764
  • 9
  • 33