我正在尝试使用 Firebase App Distribution 使用以下使用 flutter 构建的命令来分发 Android App Bundle (AAB):
firebase appdistribution:distribute build/app/outputs/bundle/stagingRelease/app-staging-release.aab --app <PROJECT_ID> --groups internal --debug
但是,我遇到以下错误:
[2024-06-09T21:27:37.700Z] Object "" in "firebase.json" has unknown property: {"additionalProperty":"flutter"}
[2024-06-09T21:27:37.703Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2024-06-09T21:27:37.704Z] > authorizing via signed-in user
[2024-06-09T21:27:37.706Z] >>> [apiv2][query] GET https://firebaseappdistribution.googleapis.com/v1/projects/<PROJECT_ID>/apps/<APP_ID>/aabInfo [none]
[2024-06-09T21:27:38.472Z] <<< [apiv2][status] GET https://firebaseappdistribution.googleapis.com/v1/projects/<PROJECT_ID>/apps/<APP_ID>/aabInfo 400
[2024-06-09T21:27:38.472Z] <<< [apiv2][body] GET https://firebaseappdistribution.googleapis.com/v1/projects/<PROJECT_ID>/apps/<APP_ID>/aabInfo {"error":{"code":400,"message":"Precondition check failed.","status":"FAILED_PRECONDITION"}}
Error: failed to determine AAB info. HTTP Error: 400, Precondition check failed.
我的 firebase.json 配置、Firebase 控制台配置或 Flutter/Android 构建配置是否有问题?
我有扑扑的味道
任何帮助将不胜感激!
我想要aab上传:)
它表示您的 PROJECT_ID 不匹配或您的项目不存在。