在Android Studio中使用App action test tools
测试Google动作,我收到了错误消息
Preview Creation Error Status Code: 400 Message: Precondition check failed.
The requested Android app package name does not have an associated project
in Play Console. Please create a draft in Play Console and upload an app
with package name 'com.example.yadayada'.
如果我尝试“使用包名上传应用程序...” 我遇到了错误
Upload failed
You have uploaded an APK or Android App Bundle that contains an action schema
document in the manifest file, but the action patterns are not yet allowed.
If you participate in a beta program, you must obtain authorization
for your developer account
好的,但是我在哪里以及如何去做?
此外,我不必发布应用程序,这只是测试将来可能的Slices的实现的草稿,并且文档指出可以通过Android Studio插件来实现。
答案 0 :(得分:0)
好,知道了。提示here
在开发人员控制台中创建新的应用程序,无需操作,然后使用 其软件包名称在测试应用程序中的 with 操作。您可以使用已经在控制台中注册的任何软件包名称
android {
defaultConfig {
applicationId "com.example.yadayada.playconsole"
}
}