I was working on Firebase App Distribution using gradle.
I already followed all steps from this firebase official link and it still doesn't work.
When I run this ./gradlew assembleDemoDebug appDistributionUploadDemoDebug
, it always return this error App Distribution failed to fetch app information: [403] The caller does not have permission .
Here's my gradle settings.
buildTypes {
debug {
...
firebaseAppDistribution {
appId = "1:12345678:android:12345678abc"
releaseNotes = "test"
groups = "android-qa"
serviceCredentialsFile = "android-app-distribution-key.json"
}
}
I already contacted the google support team, but maybe you guys have a similar experience with this issue. Am I missing something here?
Thanks
Firebase App Distribution makes distributing your apps to trusted testers painless. By getting your apps onto testers' devices quickly, you can get feedback early and often. And if you use Crashlytics in your apps, you'll automatically get stability metrics for all your builds, so you know when you're ready to ship.
Distribute your app to testersSelect your Firebase project when prompted. On the Releases page, select the app you want to distribute from the drop-down menu. Drag your app's APK file to the console to upload it. When the upload completes, specify the tester groups and individual testers you want to receive the build.
App releases expire after 150 days When you upload a release of your app to Firebase, the release appears in the App Distribution dashboard for 150 days, starting from the upload date.
A couple things to try. First, make sure the service account has the needed permission. To confirm:
client_email
in the service account fileclient_email
in step 1 has the Firebase App Distribution Admin role, or add it if it is missing. Check by clicking the "edit" pencil icon to the right-side of the row and a panel will show the current roles. If Firebase App Distribution Admin isn't there, press "+ ADD ANOTHER ROLE" and include it.Also, double check that you're using the most up to date version of the Gradle plugin: https://firebase.google.com/docs/app-distribution/android/distribute-gradle#step_1_set_up_your_android_project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With