I got this error when i try to advertise or discover on devices.However it worked well on the ring road the day before:
] PlatformException(Failure, 17: API: Nearby.CONNECTIONS_API is not available on this device. Connection failed with: ConnectionResult{statusCode=INTERNAL_ERROR, resolution=null, message=null}, null, null)
IGmsServiceBroker.getService failed
W/GmsClient(20955): java.lang.IllegalStateException
W/GmsClient(20955): at android.os.Parcel.createExceptionOrNull(Parcel.java:3031)
W/GmsClient(20955): at android.os.Parcel.createException(Parcel.java:3007)
W/GmsClient(20955): at android.os.Parcel.readException(Parcel.java:2990)
W/GmsClient(20955): at android.os.Parcel.readException(Parcel.java:2932)
W/GmsClient(20955): at com.google.android.gms.common.internal.zzac.getService(com.google.android.gms:play-services-basement@@18.1.0:9)
W/GmsClient(20955): at com.google.android.gms.common.internal.BaseGmsClient.getRemoteService(com.google.android.gms:play-services-basement@@18.1.0:14)
W/GmsClient(20955): at com.google.android.gms.common.api.internal.zabt.run(com.google.android.gms:play-services-base@@18.1.0:7)
W/GmsClient(20955): at android.os.Handler.handleCallback(Handler.java:942)
W/GmsClient(20955): at android.os.Handler.dispatchMessage(Handler.java:99)
W/GmsClient(20955): at android.os.Looper.loopOnce(Looper.java:226)
W/GmsClient(20955): at android.os.Looper.loop(Looper.java:313)
W/GmsClient(20955): at android.os.HandlerThread.run(HandlerThread.java:67)
Please help me.
2
Answers
Thanks, i've downgrade Google Play Services and its works again.
This problem comes after recent updates in Google Play Services. I downgraded my Google Play Services and it starts working.
For downgrading:
After doing this, Near By connections will work.