gpt4 book ai didi

android - firebaseAppDistribution with Github Actions throwing error "Missing app id",即使使用谷歌服务插件集

转载 作者:行者123 更新时间:2023-12-04 23:37:36 28 4
gpt4 key购买 nike

我正在使用 github 操作为 android 实现应用程序分发,一切似乎都很好,但我收到了一个错误:

* What went wrong:
Execution failed for task ':app:appDistributionUploadQaRelease'.
> Missing app id. Please check that it was passed in and try again
我正在使用 google play 插件,所以它应该自动获取应用程序 ID。
https://firebase.google.com/docs/app-distribution/android/distribute-gradle#step_3_configure_your_distribution_properties

appId -- Your app's Firebase App ID. Required only if you don't have the Google Services Gradle plugin installed.


我有 google-services.json应用程序模块中的文件,
root build.gradle :
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.0'
appbuild.gradle :
plugins {
....
id 'com.google.gms.google-services'
id 'com.google.firebase.appdistribution'
}
qa味道:
productFlavors {
....
qa {
applicationId "custom.package.for.qa"
....
firebaseAppDistribution {
releaseNotes = "something 123"
groups = "testers"
}
}
}
如果我添加 "appId = ...."里面 firebaseAppDistribution ,构建成功上传。但这不应该是必要的,因为谷歌播放插件。
并在 github 操作中:
-   name: Build & Deploy
run: |
export FIREBASE_TOKEN=${{ secrets.FIREBASE_TOKEN }}
./gradlew --stop
./gradlew clean
./gradlew assembleQaRelease appDistributionUploadQaRelease
谢谢!

最佳答案

我还确认这是他们库的最新版本中的一个错误:

com.google.firebase:firebase-appdistribution-gradle:3.0.0
我开了一个 issue在他们的 GitHub 上,所以希望他们能尽快修复它。

关于android - firebaseAppDistribution with Github Actions throwing error "Missing app id",即使使用谷歌服务插件集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70838922/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com