应用操作不是 运行 应用操作测试工具

App Action not running with App Actions Test Tool

我正在尝试 运行 示例 App Actions Fitness project 但我无法让 AATT 在我的三星 S8 设备(或具有 Android 的模拟器 Pixel 3)上执行任何操作10 & Google 助手)。 我试过 AATT 版本(3.1.1 和 3.1.2)。

这些是我遵循的步骤:

  1. 已将签名的申请草稿上传到我的内部测试轨道 Google AndroidManifest 文件中没有 actions.xml 的 Play 商店帐户。
  2. 已在清单中使用 actions.xml 安装已签名的应用程序 在我的设备上
  3. 我运行正在使用最新版本的智能助理和 Google 应用程序
  4. 我确定 Google 助理设置正确
  5. 我登录了我的 Google Play 商店帐户,device/Assistant 并且 Android Studio 使用相同的帐户。
  6. 使用 Fit Actions 作为 AATT 成功创建预览 我的调用名称并将区域设置留空。
  7. 当我 运行 AATT 助手在设备上启动但 说,Sorry, I couldn't find it

我什至尝试使用@adamkoch 在 Stack Overflow 上建议的步骤来验证我的设置,但没有成功。

我在 adb logcat 中搜索了 Google 助理试图呼叫的确切 Intent,但只找到了这个:

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

欢迎提出任何想法和建议。

根据评论,所有内容都经过验证并且看起来不错 this post。 Samsung Galaxy S8 缺少的一件事是 check/set 设备区域设置 - 最安全的选择是设置为 en-US。

应用操作是 supported in other locales(但 en-US 始终是验证您的测试设置的安全选择)。

目前不支持在模拟器上测试 App Actions 预览,这就是为什么它只能在物理设备上运行(在 limitations 部分中提到)。