tajchert / BusWear

EventBus for Android Wear devices.
Apache License 2.0
257 stars 23 forks source link

IncompatibleClassChangeError #15

Open Aksi0m opened 8 years ago

Aksi0m commented 8 years ago

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 commented 8 years ago

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 commented 7 years ago

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.