Skip to content

Sample app doesn't seem to work #1

Open
@damon-beaven

Description

@damon-beaven

https://developers.home.google.com/apis/android/sample-app/build

I've followed the instructions on the above link. The local Android project builds fine once I made the instructed changes. Everything links and it seems to pick up the downloaded Google Home library.

I've followed the instructions twice and I keep getting "User cancelled OAuth consent UI" from the app. I assumed the problem was in the Google Cloud OAuth project creation so I started over and created a completely new OAuth project but I get the same results. I also wondered if I had the wrong Android Studio signing key but I've followed the directions exactly as prescribed.

The flow that I see on my end is:

  1. launch app
  2. app says "permissions state: NOT GRANTED"
  3. click "Google Home API Sample App" Button
  4. Choose my google account (which has google home set up and is associated w/ the OAuth project)
  5. I never see my Homes listed. I just get a flash on the screen and then the prompt saying ""Permissions Result: CANCELLED | User cancelled OAuth consent UI".

What else can I investigate from my end?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions