Google Play Services 7.5.0 and geotrigger-sdk:1.2.0 conflict error

4817
1
09-10-2015 07:53 PM
MikelButron
New Contributor

Hello,

My build.grade has the following lines:

....

compile 'com.google.android.gms:play-services-base:7.5.0'
compile 'com.google.android.gms:play-services-gcm:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'

.

.

However when I add the geotrigger sdk dependency

           compile    'com.esri.android.geotrigger:geotrigger-sdk:1.2.0'

I get the following error:

Error:Execution failed for task ':processDebugResources'.

> 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

Any ideas how to solve it?

Regards,

0 Kudos
1 Reply
DanO_Neill
Occasional Contributor III

The GeoTrigger SDK has a dependency on Google Play Services (6.5.87) so you need to import the same level as the GeoTrigger SDK or remove the dependencies in your project entirely. 

0 Kudos