-
Notifications
You must be signed in to change notification settings - Fork 227
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
Comments
In your project In ANSE 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 |
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. |
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. |
Hi Guys, |
Help us someone, please! |
Give me a couple of weeks, I'll see what I can do. Work has been tight so On Tue, Jul 5, 2016, 7:49 PM vanjavanjavanja [email protected]
|
Hey @frostymarvelous , do u have any updates or estimates? Thanx |
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
The text was updated successfully, but these errors were encountered: