[英]Unable to create preview of the app actions used in the app in google assistant
我在 res/xml 中添加了快捷方式.xml 并添加了
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
在 AndroidManifest.xml 中,还在播放控制台内部测试中上传了签名的捆绑文件。
但是我在使用 android 工作室中的谷歌助手应用程序操作测试工具创建预览时遇到以下错误
Google Assistant plugin v2.3.0
Preview Creation Error
Status Code: 400
Message: Precondition check failed.
- Please sign in to Play Console (https://play.google.com/apps/publish) and check if you have accepted the latest Terms of Service (ToS), and the Gmail/G-Suite account has the authorization to modify the app with package name 'uninitialized.application.id'.
读取的错误消息部分
modify the app with package name 'uninitialized.application.id'
似乎特别奇怪。 有几件事情我会确定:
app/build.gradle
在 defaultConfig 部分中具有正确的 applicationId,并且您在其他地方使用此 Id。app/build.gradle
中正确设置它,您就可以重建整个项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.