Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Conflict when compiling with com.google.maps #355

Closed
ballenjr opened this issue Nov 19, 2015 · 5 comments
Closed

Conflict when compiling with com.google.maps #355

ballenjr opened this issue Nov 19, 2015 · 5 comments

Comments

@ballenjr
Copy link

I have traced it back to com.google.playservices which is a dependency of com.google.maps(https://github.com/wf9a5m75/phonegap-googlemaps-plugin/).

Is is possible to defer to the playservices if present?

Version: 1.4.3

Specific error is:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processX86DebugResources'.
> 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
@ballenjr
Copy link
Author

I already tried namespacing the playservices plugin. But that didn't work. For some reason the maps plugin can't find the library/framework. I think it might be wrapping it but I'm not sure why.

@ballenjr
Copy link
Author

Nevermind, I updated to the latest version now curated by @hirbod and removed the offensive playservices plugin and now it compiles.

@ballenjr
Copy link
Author

Thanks for all of the commits. Can't wait for clustering. I'll see if I can drum up some donations.

@macdonst
Copy link
Member

Yeah, if you use version 1.2.8 or greater of phonegap-googlemaps-plugin you won't have this problem.

@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants