miserable
miserable

Reputation: 727

actions on google demo code is not working on my android phone

I followed https://developers.google.com/actions/dialogflow/first-app tutorial and built my first google action. The action is working fine on my laptop browser in the test (Followed "Preview the App" section of the tutorial) environment. However, when I am trying to use this action on my phone by saying "OK Google talk to my first app". It's not working. Is it supposed to work on my phone as well? I have logged in with the same Gmail account on my phone also.

PS - I have posted the same question on "actions on google" google plus community google as well but I am not sure if that community is to post such questions or not. Therefore, I am posting it here also.

Thanks in advance!

Upvotes: 1

Views: 772

Answers (2)

Alberto Piras
Alberto Piras

Reputation: 537

As you probably already know you have to enable Web & App Activity, Device Information, Voice & Audio Activity in the Activity controls page.

Then you also have to be sure that the language of your agent is the same used by your google assistant.

I solved thanks this last step.

Hope this helps

Upvotes: 0

Prisoner
Prisoner

Reputation: 50701

Once you have enabled testing through the simulator, it should be available on all devices (mobile, speakers like Google Home, etc) with the same account your simulator is running in. Double check to make sure they're the same account.

In your case, however, you may be using the wrong invocation phrase. If you actually said what you did above, you need to say the exact same thing that you typed to invoke it.

If you haven't set a name in the configuration, then that phrase will be

  • Talk to my test app

Update

As you note in the comments - you also need to make sure you're running the Google Assistant, and not one of the other voice search components. The Google Assistant requires:

  • Android 6.0 or higher
  • Google app 6.13 or higher
  • Google Play services
  • 1.5 GB of memory
  • 720p screen resolution
  • Phone set to a supported language

Upvotes: 3

Related Questions