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

"java.lang.IncompatibleClassChangeError" If I include GooglePlus dependency #129

Open
vipulpurohit opened this issue Jun 30, 2017 · 0 comments

Comments

@vipulpurohit
Copy link

Hello
Thanks for this great library.
I'm facing an issue after including GooglePlus dependency in my project:
compile 'com.github.asne:asne-googleplus:0.3.3.3'

Application is crashing on startup with the following error log:
FATAL EXCEPTION: main Process: com.allomind.speckme.dev, PID: 10200 java.lang.IncompatibleClassChangeError: The method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' was expected to be of type virtual but instead was found to be of type interface (declaration of 'com.akhgupta.easylocation.LocationBgService' appears in /data/app/com.allomind.speckme.dev-1/base.apk:classes2.dex) at com.akhgupta.easylocation.LocationBgService.onCreate(LocationBgService.java:47) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2903) at android.app.ActivityThread.-wrap4(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1431) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5648) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

I did some research on this issue and found that your library is using older version of Google play service in which GoogleApiClient class was an interface and now it became an Abstract class.

Please refer to this SO post
https://stackoverflow.com/questions/33073779/googleapiclient-connect-was-expected-to-be-of-type-interface-but-was-found-to

Can you please update fix this issue so I can use GooglePlus signin in my application.
I've tested in android version 7.1.2.

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

1 participant