ASNE icon indicating copy to clipboard operation
ASNE copied to clipboard

Update asne-googleplus dependencies

Open brycehendrix opened this issue 10 years ago • 5 comments

It depends on com.google.android.gms:play-services:4.3.23. Apps which user newer versions will get gradle errors: "more than one library with package name 'com.google.android.gms'"

This should be replaced with the newer libraries: com.google.android.gms:play-services-base:6.5.87 com.google.android.gms:play-services-plus:6.5.87

brycehendrix avatar Jan 13 '15 19:01 brycehendrix

Hi, i am trying to get google plus signin working on my android app, but i get issues.

Debug says "GooglePlayServicesUtil﹕ Google Play services is missing." So when i add compile 'com.google.android.gms:play-services-base:6.5.87' compile 'com.google.android.gms:play-services-plus:6.5.87'

in my build gradle file it doesn't work and throws this 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

So i can't use G+ Connect unfortunally. But Facebook Connect works great.

Can you tell me what dependencies should i have to add in Gradle file ?

Thanks a lot for this Useeful lib.

arthur-feral avatar Mar 16 '15 13:03 arthur-feral

In my case, I add a lower version of GooglePlayServices, specifically, compile 'com.google.android.gms:play-services:4.3.23' and it works fine, but I would like to update to last version

acuevas91 avatar Mar 16 '15 13:03 acuevas91

I forked it, changed the lines I specified above, then built it. Unfortunately, that means I have to put it in my libs dir rather than using maven central.

brycehendrix avatar Mar 16 '15 14:03 brycehendrix

There is another issue: here: http://gorbin.github.io/ASNE/com/github/gorbin/asne/googleplus/GooglePlusSocialNetwork.html We can see that getAccessToken is not supported, that a problem for me :/ and the requestCurrentPerson() method return everytime NETWORK_ERROR. I really need 2 specific datas at the login time for my app: the AccessToken and the user id :(

arthur-feral avatar Mar 16 '15 15:03 arthur-feral

@arthur-feral were you able to resolve the issue "requestCurrentPerson() method return everytime NETWORK_ERROR."?

kysmet avatar Jun 25 '15 16:06 kysmet