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 [email protected]
as an example.
Verify package name matches up:
- You should have
com.sample.app
as an app in your Play Console account for [email protected]
(it can be in any track)
- You should have the
com.sample.app
APK installed on your test device
- You should have an actions.xml in the source code for the app with package
com.sample.app
- you should run the App Actions Test Tool from this project
Verify the Google account matches up:
- You should be logged into Android Studio with
[email protected]
- You should be logged into your test device with
[email protected]
, 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:
- You can successfully trigger the defined Android deep links defined in your
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.