I'll answer my own question, I change gradle nearby compile version from compile 'com.google.android.gms:play-services-nearby:9.0.0' To compile 'com.google.android.gms:play-services-nearby:10.0.1'
And it resolved the issue Le mercredi 1 février 2017 10:55:24 UTC+1, Nicolas Mecozzi a écrit : > > Hi, I would like to use Nearby with Google Play Services from an Android > Things (ver androidthings_rpi3_devpreview > <https://dl.google.com/dl/androidthings/rpi3/devpreview/1/androidthings_rpi3_devpreview_1.zip>) > > app. > When I try to instantiate the google play client I got a connection call > back with the error code > > *SERVICE_INVALID* > > > *The version of the Google Play services installed on this device is not > authentic. * > > > Is it due to the fact that Android Things is still a preview image, or am > I missing something ? > > > Instantiation code : > > mGoogleApiClient = new GoogleApiClient.Builder(this) > .addApi(Nearby.MESSAGES_API) > .addConnectionCallbacks(this) > .addOnConnectionFailedListener(this) > .build(); > mGoogleApiClient.connect(); > > > Thanks > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/16d5666f-d8c3-46d3-a532-3c9e61b7164f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

