我嘗試了最近發佈的功能,該功能允許使用Gradle任務將ProGuard映射文件上傳到Firebase(https://firebase.google.com/docs/crash/android)。以下是我正在運行的任務。將ProGuard映射文件上傳到Firebase
./gradlew -PFirebaseServiceAccountFilePath=xxxxx.json :app:firebaseUploadReleaseProguardMapping
但是,它似乎並未識別服務帳戶文件。有沒有人有任何運氣得到這個工作?我也嘗試在gradle.properties中定義FirebaseServiceAccountFilePath
。
* What went wrong:
Execution failed for task ':app:firebaseUploadReleaseProguardMapping'.
> Service account file path has not been defined! Service accounts are used to authorize your mapping file uploads. Learn more at
https://firebase.google.com/docs/crash/android.
也爲我工作 –
Awsome :)訣竅 –
很棒,,,謝謝 –