BusWear icon indicating copy to clipboard operation
BusWear copied to clipboard

IncompatibleClassChangeError

Open Aksi0m opened this issue 9 years ago • 2 comments

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.

Aksi0m avatar Feb 11 '16 08:02 Aksi0m

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...

TomWayne98 avatar Jun 14 '16 15:06 TomWayne98

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.

btkelly avatar Oct 06 '16 20:10 btkelly