2

I'm trying to run the sample App Actions Fitness project but I can't get the AATT to execute any actions on my Samsung S8 device (or Emulator Pixel 3 with Android 10 & Google Assistant). I've tried with AATT versions (3.1.1 & 3.1.2).

These are the steps i followed:

  1. Uploaded a signed draft application to my internal test track Google Play Store account without actions.xml in the AndroidManifest file.
  2. Installed the signed application with actions.xml in the manifest onto my device
  3. I'm running the latest version of the Assistant and the Google App
  4. I made sure the Assistant is properly setup
  5. I logged into my Google Play Store account, device/Assistant and Android Studio using the same account.
  6. Created a preview successfully using the AATT using Fit Actions as my invocation name and left the Locale blank.
  7. When i Run the AATT the Assistant is launched on the device but says, Sorry, I couldn't find it

I even tried to verify my setup using the suggested steps by @adamkoch on Stack Overflow and that didn't work.

I searched the adb logcat for the exact Intent that Assistant is trying to call but only found this:

I/ActivityManager: START u0 {act=android.intent.action.VIEW typ=null flg=0x10000000 cmp=ComponentInfo{com.google.android.googlequicksearchbox/com.google.android.apps.gsa.deeplink.DeeplinkActivityEntrypoint}} from uid 2000

Any thoughts and suggestions would be welcome.

NgoniM
  • 33
  • 6
  • Can you post the exact version of the Google Search App? And also you should first get it working with the emulator and then try on the S8 (just to rule out that there's any issues with the device). For the emulator, make sure you use the recommended image (with Play Store etc) – AdamK Feb 07 '20 at 01:25
  • Also, did you make any changes to the sample code from github except the package name? And what locale is your device set to? en-US? or something else? Lastly, make sure you can trigger the intents correctly via `adb` (as per the other stackoverflow post you linked to. – AdamK Feb 07 '20 at 01:27
  • @AdamK Samsung Galaxy S8 (Google Search App - v10.94.12.21.arm64). Emulator Pixel 3a API 28 including Play Store (Google Search App - v10.94.12.21.x86). I didn't make any changes to the project except package name. I'm able to trigger the intents correctly. So I got the sample app working on the S8, the issue was the locale. I changed it to en-US. Using the same configuration for the S8 on the Emulator i can't get it to work, but at least it works on the device :-) – NgoniM Feb 10 '20 at 11:25
  • Ok glad you got it working on the S8. Not sure what the problem with the emulator is. – AdamK Feb 10 '20 at 23:09
  • Actually I found out that testing App Actions previews on the emulator doesn't currently work so you should use a real device like the S8 until that issue is resolved. Not easy to find but it is mentioned here: https://developers.google.com/assistant/app/test-tool#limitations – AdamK Feb 10 '20 at 23:23

1 Answers1

1

As per the comments, everything was verified and looked good as per this post. The one thing missing on the Samsung Galaxy S8 was to check/set the device locale - the safest bet is to set to en-US.

App Actions is supported in other locales (but en-US is always a safe bet to verify your test setup).

Testing App Actions previews on the emulator is not currently supported which is why it only worked on the physical device (mentioned in the limitations section).

AdamK
  • 21,199
  • 5
  • 42
  • 58