I am trying to use the following gradle command to download apk with flavor:
./gradlew assembleDevRelease crashlyticsUploadDistributionDevRelease
However, it does not work with the following exception log:
Caused by: com.crashlytics.tools.android.exception.DistributionException: Crashlytics halted compilation because it had a problem uploading the distribution.Project dev is inactive at com.crashlytics.tools.android.DistributionTasks.uploadDistribution(DistributionTasks.java:91) at com.crashlytics.tools.android.DeveloperTools.processProperties(DeveloperTools.java:583) ... 58 more
It seems that there is no package match in my Fabric account, but when I execute the following command, it finds this:
./tasks gradlew - all app: crashlyticsUploadDistributionDevRelease - loads the APK into Crashlytics for distribution.
Why can't I distribute my application?
My build.gradle file:
productFlavors { dev { applicationId "mypackagename.dev" } alpha { applicationId "mypackagename.alpha" } beta { applicationId "mypackagename.beta" } product { applicationId "mypackagename" }
source share