Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more than one library with package name 'com.google.android.gms' #591

Closed
n00dl3 opened this issue Aug 20, 2015 · 2 comments
Closed

more than one library with package name 'com.google.android.gms' #591

n00dl3 opened this issue Aug 20, 2015 · 2 comments

Comments

@n00dl3
Copy link

n00dl3 commented Aug 20, 2015

Hi guys,
I'm building an application that uses this plugin and the aerogear push plugin. The fact is aerogear requires com.google.android.gms:play-services:6.1.11 whereas google maps plugin requires the version from google-play-service plugin.

As the google-play-service plugin is deprecated, I tried using the recommended <framework> tag in plugin.xml, for the moment I'm trying with the 7.8.0 version, don't know if it will work with this version, but it's not important, for now I just want it to compile :-)...

So I have replaced this:

<dependency id="com.google.playservices" url="https://github.com/wf9a5m75/google-play-services#v23" /> 

by this:

<framework src="com.google.android.gms:play-services-maps:7.8.0"/>
<framework src="com.google.android.gms:play-services-location:7.8.0"/>

However, when I run cordova build gradle complains :

Error: more than one library with package name 'com.google.android.gms'

I have no idea how to handle this version conflict, any help would be appreciated....

@hirbod
Copy link
Contributor

hirbod commented Aug 30, 2015

Please ask on stack-overflow

@hirbod hirbod closed this as completed Aug 30, 2015
@hirbod
Copy link
Contributor

hirbod commented Sep 1, 2015

Fixed in the master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants