fastlane:[!] Google Api 错误:无效请求 - 找不到包:com.example.todo

Kri*_*sna 15 android google-play fastlane

我在我的应用程序中使用 React-native。我已经命名了我的名字reactamplify。我想将我的应用程序部署到 Google Play 商店。对于自动化部署,我第一次使用fastlane. 我找到了这个文档,按照步骤操作并授予 API访问权限。在我的 React 本机应用程序中,我导航到android文件夹然后运行此命令fastlane init。给出json_key_file我下载的 auth json 文件的路径。但我对包名称感到困惑。我在 vscode 中搜索我的应用程序名称,com.reactamplify将其替换为com.example.todo. 然后运行 ​​android 文件夹fastlane supply init,我收到此错误:[!] Google Api Error: Invalid request - Package not found: com.example.todo.我真的不知道如何修复它:(。真的失去了TBH。

当我跑步时fastlane supply。我得到了这张图片

在此输入图像描述

PS:如果有人给我提供带有图像的示例,那就太棒了

Kri*_*sna 40

我找到了原因。我需要手动将至少一个版本上传到 google Play 商店应用程序。这就是我收到包名称错误的原因。

\n