简体   繁体   English

应用操作未与应用操作测试工具一起运行

[英]App Action not running with App Actions Test Tool

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).我正在尝试运行示例App Actions Fitness 项目,但我无法让 AATT 在我的三星 S8 设备(或带有 Android 10 和 Google 助理的 Emulator Pixel 3)上执行任何操作。 I've tried with AATT versions (3.1.1 & 3.1.2).我尝试过 AATT 版本(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.将已签名的草稿应用程序上传到我的内部测试轨道 Google Play 商店帐户,而 AndroidManifest 文件中没有actions.xml
  2. Installed the signed application with actions.xml in the manifest onto my device将清单中带有actions.xml的签名应用程序安装到我的设备上
  3. I'm running the latest version of the Assistant and the Google App我正在运行最新版本的智能助理和 Google 应用
  4. I made sure the Assistant is properly setup我确保已正确设置 Google 助理
  5. I logged into my Google Play Store account, device/Assistant and Android Studio using the same account.我使用同一个帐户登录了我的 Google Play 商店帐户、设备/助手和 Android Studio。
  6. Created a preview successfully using the AATT using Fit Actions as my invocation name and left the Locale blank.使用Fit Actions作为我的调用名称的 AATT 成功创建了一个预览,并将区域设置留空。
  7. When i Run the AATT the Assistant is launched on the device but says, Sorry, I couldn't find it当我运行 AATT 时,助手在设备上启动但说, 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.我什至尝试使用 @adamkoch 在Stack Overflow上建议的步骤来验证我的设置,但没有奏效。

I searched the adb logcat for the exact Intent that Assistant is trying to call but only found this:我在adb logcat搜索了助手试图调用的确切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

Any thoughts and suggestions would be welcome.欢迎任何想法和建议。

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.三星 Galaxy S8 缺少的一件事是检查/设置设备区域设置 - 最安全的选择是设置为 en-US。

App Actions is supported in other locales (but en-US is always a safe bet to verify your test setup). 其他语言环境支持应用操作(但 en-US 始终是验证您的测试设置的安全选择)。

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).目前不支持在模拟器上测试 App Actions 预览,这就是它只能在物理设备上工作的原因(在限制部分中提到)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 App Action 适用于 App Actions 测试工具,但不适用于 Google Assistant - App Action Works on App Actions Test Tool But not On Google Assistant OPEN_APP_FEATURE 操作无法通过语音命令运行 [通过应用程序操作测试工具完美运行] - OPEN_APP_FEATURE action not working through voice command [Works perfactly via App Actions Test Tool] 应用程序操作:使用测试工具但不使用语音 - app actions: work with test tool but not with voice 有没有办法在不使用测试工具的情况下测试 android 应用程序操作 - Is there a way to test android app actions without using the test tool 为什么[App Actions Test Tool]不支持快捷方式xml文件? - Why [App Actions Test Tool] not support shortcuts xml file? 在 Android 上,我无法让 actions.intent.OPEN_APP_FEATURE 在应用程序操作测试工具之外工作 - On Android, I cannot get actions.intent.OPEN_APP_FEATURE to work outside the App Actions Test Tool Google上的操作-无法测试Android上的应用操作意图 - Actions on Google - Unable to test intent for app action on Android 为什么我的应用可以与应用操作测试工具一起使用,但在 Play 商店发布时却不行? - Why does my app work with app actions test tool, but not when it's published on the play store? 带有谷歌助手的 App Actions 测试工具显示“对不起,我找不到它” - App Actions test tool with google assistant shows "Sorry, I couldn't find it" 如何使用 Google Assistant 测试 App Actions? - How to test App Actions using Google Assistant?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM