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

NoClassDefFoundError GooglePlusSocialNetwork when add Google play services #97

Open
brucemax opened this issue Aug 5, 2015 · 7 comments

Comments

@brucemax
Copy link

brucemax commented Aug 5, 2015

If add google play services dependency to demo or other project
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.github.asne:asne-facebook:0.3.3'
compile 'com.github.asne:asne-linkedin:0.3.3'
compile 'com.github.asne:asne-twitter:0.3.3'
compile ('com.github.asne:asne-googleplus:0.3.3')
compile 'com.google.android.gms:play-services:7.5.0'
}

I get
java.lang.NoClassDefFoundError: com.github.gorbin.asne.googleplus.GooglePlusSocialNetwork
at com.github.gorbin.asnetutorial.MainFragment.onCreateView(MainFragment.java:91)

At run time

@ghost
Copy link

ghost commented Sep 17, 2015

In your project
compile 'com.google.android.gms:play-services:7.5.0'

In ANSE
compile('com.google.android.gms:play-services:4.3.23@aar') { exclude module: 'support-v4' }

If you use play-services 7.X will make GooglePlayServicesClient deprecated which make this error

you should download it and import as android-lib , and then change

compile('com.google.android.gms:play-services:4.3.23@aar')

to

compile('com.google.android.gms:play-services:6.X.X@arr')

in my case 6.5.87@aar

@ko3ak1990
Copy link

I'm having the same issue with new play services 8.1.0.In my project i set it to 8,also build a googleplus project from library and set playservices to 6.5.87,unfortunately i still have this exception.

@encouver
Copy link

The error is that com.github.asne:asne-googleplus:0.3.3 is using a deprecated library: com.google.android.gms.common.GooglePlayServicesClient, instead of com.google.android.gms.common.api.GoogleApiClient only, given that GooglePlayServicesClient was removed from the SDK, the error comes when there is no such class compiled for the project.

@mitsus
Copy link

mitsus commented Jun 8, 2016

Hi Guys,
someone has solved this problem?

@vanjavanjavanja
Copy link

Help us someone, please!

@thedumbtechguy
Copy link
Collaborator

Give me a couple of weeks, I'll see what I can do. Work has been tight so
haven't been able to work on anything asne and trust me, the backlog is
huge!
I'll try to fix the most pertinent issues in the mean time.

On Tue, Jul 5, 2016, 7:49 PM vanjavanjavanja [email protected]
wrote:

Help us someone, please!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#97 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AA4XZc_tt5iBOmg0UZz7TbEJefWoJfCpks5qSrU6gaJpZM4FmF0v
.

@vanjavanjavanja
Copy link

Hey @frostymarvelous , do u have any updates or estimates? Thanx

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

6 participants