"java.lang.IncompatibleClassChangeError" If I include GooglePlus dependency
- Dominant language
- Java
- Stars
- 877
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
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](url)
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.