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

IncompatibleClassChangeError #15

Open
Aksi0m opened this issue Feb 11, 2016 · 2 comments
Open

IncompatibleClassChangeError #15

Aksi0m opened this issue Feb 11, 2016 · 2 comments

Comments

@Aksi0m
Copy link

Aksi0m commented Feb 11, 2016

This is the stack trace that I got for this error. I have no idea why this is happening. I use the 8.3 play services,


java.lang.IncompatibleClassChangeError: The method 'com.google.android.gms.common.ConnectionResult com.google.android.gms.common.api.GoogleApiClient.blockingConnect(long, java.util.concurrent.TimeUnit)' was expected to be of type interface but instead was found to be of type virtual (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)
                                                                           at pl.tajchert.buswear.wear.SendByteArrayToNode.run(SendByteArrayToNode.java:36)

But when I use the version 7.5 of the play services it works fine. So I guess the newer play services work differently and the BusWear Lib needs some updates.

@TomWayne98
Copy link

Hi guys,
if i fully understand there is no way how to use this library with play services 8.3 and newer. Is there any chance that BusWear would get support for play services 9.0.+ in future? I really like this library but i need to use new Firebase in my app so I need to use the new version of play servicies...

@btkelly
Copy link
Contributor

btkelly commented Oct 6, 2016

This should be resolved by PR 19 as it updated the sample apps Play Services versions to 9.6 and everything was working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants