无法将APK上传到firebaseAppDistribution

时间:2019-10-21 14:52:10

标签: android firebase firebase-app-distribution

我做什么:

> export FIREBASE_TOKEN=***
> export GOOGLE_APPLICATION_CREDENTIALS=/home/MyProject/app/serviceCredentialsFile.json
> ./gradlew --stop
> ./gradlew assembleDebug appDistributionUploadDebug

结果:

> Task :app:appDistributionUploadDebug FAILED
Found APK at /home/MyProject/app/build/outputs/apk/debug/debug.apk.
Uploading APK to Firebase App Distribution...
Getting appId from output of google services plugin

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:appDistributionUploadDebug'.
> App Distribution failed to fetch app information: [403] The caller does not have permission

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
190 actionable tasks: 2 executed, 188 up-to-date

解决方法

0 个答案:

没有答案