[英]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:这些是我遵循的步骤:
actions.xml
in the AndroidManifest file.actions.xml
。actions.xml
in the manifest onto my deviceactions.xml
的签名应用程序安装到我的设备上Fit Actions
as my invocation name and left the Locale blank.Fit Actions
作为我的调用名称的 AATT 成功创建了一个预览,并将区域设置留空。Sorry, I couldn't find it
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.