[英]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.