I'm trying to implement the Google Fit API into my android wearable application. I have followed the GoogleFitAPI online steps with registering for an OAuth ID.
When trying to connect, I get an invalid account error.
Do I need to enable the free trial within the developer api console, or is there another issue that is causing this?
mClient = new GoogleApiClient.Builder(this)
.addApi(Fitness.API)
.addScope(Fitness.SCOPE_ACTIVITY_READ)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();