Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 应用程序操作测试工具:“;对不起,我不能';“我找不到那个”;_Android_Google Assistant - Fatal编程技术网

Android 应用程序操作测试工具:“;对不起,我不能';“我找不到那个”;

Android 应用程序操作测试工具:“;对不起,我不能';“我找不到那个”;,android,google-assistant,Android,Google Assistant,我遵循这一点,将应用程序操作添加到Android项目中。我已经完成了以下步骤: 为内部测试人员克隆、运行、构建和发布(没有添加任何实际的测试人员,我只是在发布模式下从Android Studio运行应用程序) 实现了教程中所述的深度链接,并检查了它是否与adb shell am start-a android.intent.action.VIEW-d”一起工作https://fit-actions.firebaseapp.com/start“ 使用New->xml->App actions

我遵循这一点,将应用程序操作添加到Android项目中。我已经完成了以下步骤:

  • 为内部测试人员克隆、运行、构建和发布(没有添加任何实际的测试人员,我只是在发布模式下从Android Studio运行应用程序)

  • 实现了教程中所述的深度链接,并检查了它是否与
    adb shell am start-a android.intent.action.VIEW-d”一起工作https://fit-actions.firebaseapp.com/start“

  • 使用New->xml->App actions xml文件创建actions.xml并粘贴教程中的代码,在AndroidManifest.xml中添加元数据

  • 在usb调试打开的情况下插入物理设备,设置了英语(美国)语言,检查Google Assistant是否正常工作,以及是否设置了英语(美国)语言

  • 已安装的应用程序操作测试工具v.3.5.4,已创建预览(调用名称:“Fit Actions”,区域设置:“en-US”)

  • 当我尝试运行应用程序操作预览时,谷歌助手打开,我得到“对不起,我找不到那个”

    我登录了Android Studio、我的物理设备和Google助手,并在我的Google Play控制台中设置了一封电子邮件,在Google Play控制台和build.gradle match中设置了应用程序ID

    我把所有的步骤都检查进去了

    在adb logcat中,我发现:

    I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=https://assistant.google.com/... flg=0x10000000 cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.deeplink.DeeplinkActivityEntrypoint mCallingUid=2000} from uid 2000 and from pid 12421
    
    尝试在Google助手中键入“开始在Fit Actions中跑步”将打开搜索结果,而不是应用程序

    如果你对可能出现的问题有任何想法,请告诉我

    编辑

    该教程在另一台设备上运行。 将物理设备更改为另一个-我已经使用谷歌电子邮件登录,但必须下载谷歌助手并将语言设置为en US