I am facing the issue while running the app actions fitness sample with App Actions test tool, the assistant says "Sorry, I couldn't find that"
Steps Followed:
In my case, The Google assistant has different language. I changed to English - United States.
To change the language,
Step 1: I said, "Hey Google, open Assistant settings"
Step 2: In Assistant settings -> Select "Assistant" -> Select "Languages -> It was English (India) -> Just click that -> change to English (United States)
Then the "App Actions Test Tool" working fine.
Here's a few more things to verify. The two pieces of information that are important to check match up are the package name, let's use com.sample.app
as an example and the Google account, let's use sample@gmail.com
as an example.
Verify package name matches up:
com.sample.app
as an app in your Play Console account for sample@gmail.com
(it can be in any track)com.sample.app
APK installed on your test devicecom.sample.app
- you should run the App Actions Test Tool from this projectVerify the Google account matches up:
sample@gmail.com
sample@gmail.com
, you should also have Google Assistant set up with the same account (ensure you can trigger Google Assistant for that account)You should also verify:
AndroidManifest.xml
(the ones that actions.xml
will call), see here for how to test using adb
. You could also specify your package name in the adb
command to test even more accurately how Assistant will call your app. If you still have issues, try looking at adb logcat
for the exact Intent
that Assistant is trying to call. Note that you will need to turn off a filter for your package name if you are looking in Android Studio. The log will come from the Google Search app (which is what runs Assistant). It should hopefully tell you the package name and Android Intent
params it is trying to call your app with, which will let you work out what's going wrong.
Thanks for quick response. Now I am able to see the Android Slices and App Actions via google assistant. It started working I just checked all me configuration and everything looks good.
Steps I performed:
Just a quick query how can i trigger the voice commands for the same instead of adb command generated by AATT?
Thank you again for your help.
In my case it worked after checking these two things-
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.