Select to view content in your preferred language

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

4901
1
09-10-2015 07:53 PM
MikelButron
Deactivated User

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
Deactivated User

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