Crashlytics distribution for app with multiple fla

2019-03-12 02:49发布

问题:

I'm trying to use crashlytics distribution for android app with multiple flavors. Everything worked fine when there were no flavors, but as soon as I've added two flavors I'm receiving

*'Task 'crashlyticsUploadDistributionRelease' not found in root project'*

Am I missing something?

回答1:

Ohh, I did miss something.. Don't forget to add your flavor name to:

crashlyticsUploadDistribution<FLAVOR>Release