ASNE
ASNE copied to clipboard
NoClassDefFoundError GooglePlusSocialNetwork when add Google play services
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
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
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, someone has solved this problem?
Help us someone, please!
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 https://github.com/gorbin/ASNE/issues/97#issuecomment-230583029, or mute the thread https://github.com/notifications/unsubscribe/AA4XZc_tt5iBOmg0UZz7TbEJefWoJfCpks5qSrU6gaJpZM4FmF0v .
Hey @frostymarvelous , do u have any updates or estimates? Thanx