简体   繁体   English

Google 助理未检测到我的应用程序

[英]Google assistant is not detecting my application

I'm trying to implement google assistant app actions in the flutter.我正在尝试在 flutter 中实现谷歌助手应用程序操作。

https://codelabs.developers.google.com/codelabs/appactions-2#0 I'm referring to this link and building the application. https://codelabs.developers.google.com/codelabs/appactions-2#0我指的是这个链接并构建应用程序。

I have uploaded the signed bundle to the play console internal testing and also created the shortcuts.xml and linked it to AndroidManifest.xml too.我已将签名包上传到播放控制台内部测试,还创建了快捷方式。xml 并将其链接到AndroidManifest.xml

The google assistant app actions tool in the android studio is creating the app actions preview and also when I run the app action from the app action tool in the android studio the app is performing the action I have specified but when I give a voice command like " okay google, show Tasks in the Test app " the google assistant is not opening my test app and performing the action I have specified. android 工作室中的谷歌助手应用程序操作工具正在创建应用程序操作预览,并且当我从 android 工作室中的应用程序操作工具运行应用程序操作时,应用程序正在执行我指定的操作,但是当我发出类似的语音命令时“好的谷歌,在测试应用程序中显示任务”谷歌助手没有打开我的测试应用程序并执行我指定的操作。 Google Assistant is waking up when I say okay, google .当我说好的,谷歌时,谷歌助理正在醒来。

When you create the preview in the test tool, make sure you specify the App name.在测试工具中创建预览时,请确保指定 App 名称。 Although it is listed as "optional", I find that specifying a name that is unlikely to match any other application makes sure that it will match while testing.尽管它被列为“可选”,但我发现指定一个不太可能与任何其他应用程序匹配的名称可确保它在测试时匹配。 (I usually use a name such as "bogus" or "fake".) (我通常使用“bogus”或“fake”等名称。)

应用操作测试工具图片

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM