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

gradle build error with Play Services 6.5.87 #138

Closed
skunkwerk opened this issue Dec 18, 2014 · 6 comments
Closed

gradle build error with Play Services 6.5.87 #138

skunkwerk opened this issue Dec 18, 2014 · 6 comments

Comments

@skunkwerk
Copy link

In my build.gradle I have:

dependencies {
compile 'com.google.maps.android:android-maps-utils:0.3'
compile 'com.google.android.gms:play-services-base:6.5.87'
compile 'com.google.android.gms:play-services-location:6.5.87'
compile 'com.google.android.gms:play-services-maps:6.5.87'
}

and I get the error:
Error:Execution failed for task ':app: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

thanks

@broady
Copy link
Contributor

broady commented Dec 18, 2014

Use 0.3.+. This was fixed yesterday in 0.3.4 :)

@broady broady closed this as completed Dec 18, 2014
@skunkwerk
Copy link
Author

thanks for the prompt response Chris - I'm still seeing the same error though.
I've tried with both:
compile 'com.google.maps.android:android-maps-utils:0.3.4'
and
compile 'com.google.maps.android:android-maps-utils:0.3.+'

After re-syncing gradle, the error remains in Android Studio 1.0.1.
I've also tried restarting Android Studio, to no avail.

Any suggestions?

@broady broady reopened this Dec 18, 2014
@broady
Copy link
Contributor

broady commented Dec 18, 2014

Huh, okay - can you also check you have the latest Google Repository installed via the SDK manager?

@skunkwerk
Copy link
Author

I have version 15 of Google Repository, which I believe is the latest.
I can compile & run the code with maps-utils, but only if I remove these two:
compile 'com.google.android.gms:play-services-location:6.5.87'
compile 'com.google.android.gms:play-services-maps:6.5.87'

Is that what I'm supposed to do?

@gdky005
Copy link

gdky005 commented May 21, 2015

@n00dl3
Copy link

n00dl3 commented Aug 19, 2015

@gdky005 could you please translate it, I don't speak chinese and google's translation makes me want to smoke crack...

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

5 participants