<div dir="ltr">You can exclude the com.google.android.gms group from the aerogear push dependency.<br><br><div>compile(&#39;<span style="font-size:12.8px">org.jboss.aerogear:aerogear-</span><span style="font-size:12.8px">android-push:2.2.2&#39;</span>) {<br>    exclude group: &quot;com.google.android.gms&quot;<br>}</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 11:42 AM, Francois <span dir="ltr">&lt;<a href="mailto:fd@allocab.com" target="_blank">fd@allocab.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
In the current version of the cordova plugin, google play services v6.1.11<br>
is being used (see gradle dependencies output)<br>
<br>
+--- org.jboss.aerogear:aerogear-android-push:2.2.2<br>
|    +--- org.jboss.aerogear:aerogear-android-core:2.1.0<br>
|    +--- org.jboss.aerogear:aerogear-android-pipe:2.1.0 (*)<br>
|    +--- com.google.android.gms:play-services:6.1.11<br>
|    \--- com.google.code.gson:gson:2.2.2<br>
<br>
The project I am working on also needs google maps and location services and<br>
both cordova plugins require google play services v8.4.0.<br>
<br>
Is there a way to mix both google play versions and successfully compile the<br>
whole project ?<br>
<br>
the output of the compile task is as follow:<br>
&gt; Error: more than one library with package name &#39;com.google.android.gms&#39;<br>
<br>
Thanks for your help<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/Android-how-to-compile-with-latest-version-of-Googe-Play-services-tp513.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.n5.nabble.com/Android-how-to-compile-with-latest-version-of-Googe-Play-services-tp513.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div><br></div>