Gradle command: crashlyticsUploadDistributionRelease with taste

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" } 
+6
source share
1 answer

If you see this error:

The project is inactive.

This means that your project has not been fully activated on the Fabric backend. After creating the application, be sure to run the application that will complete the activation so that you can then distribute your application.

+16
source

All Articles