[Aerogear-users] Android - how to compile with latest version of Googe Play services

Summers Pittman supittma at redhat.com
Wed Feb 24 08:17:15 EST 2016


You can exclude the com.google.android.gms group from the aerogear push
dependency.

compile('org.jboss.aerogear:aerogear-android-push:2.2.2') {
    exclude group: "com.google.android.gms"
}

On Thu, Feb 18, 2016 at 11:42 AM, Francois <fd at allocab.com> wrote:

> Hello,
>
> In the current version of the cordova plugin, google play services v6.1.11
> is being used (see gradle dependencies output)
>
> +--- org.jboss.aerogear:aerogear-android-push:2.2.2
> |    +--- org.jboss.aerogear:aerogear-android-core:2.1.0
> |    +--- org.jboss.aerogear:aerogear-android-pipe:2.1.0 (*)
> |    +--- com.google.android.gms:play-services:6.1.11
> |    \--- com.google.code.gson:gson:2.2.2
>
> The project I am working on also needs google maps and location services
> and
> both cordova plugins require google play services v8.4.0.
>
> Is there a way to mix both google play versions and successfully compile
> the
> whole project ?
>
> the output of the compile task is as follow:
> > Error: more than one library with package name 'com.google.android.gms'
>
> Thanks for your help
>
>
>
> --
> View this message in context:
> http://aerogear-users.1116366.n5.nabble.com/Android-how-to-compile-with-latest-version-of-Googe-Play-services-tp513.html
> Sent from the aerogear-users mailing list archive at Nabble.com.
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160224/cf94bcf7/attachment.html 


More information about the Aerogear-users mailing list