Crashlytics don't compile when using Jack

519 views Asked by At

I tried to use new experimental tool chain for Android (Jack and Jill), but if fails to compile with:

Error:Could not determine the dependencies of task ':app:crashlyticsStoreDeobsXXX'.
> Task with path 'dexXXX' not found in project ':app'.

I'm pretty sure it's due to J&J being in early development stage, but can anyone explain what happens here and maybe provide a workaround?

2

There are 2 answers

1
MaciejGórski On BEST ANSWER

Crashlytics task depends on dex task, which will not be created, because Jack does dexing internally. This is most likely something Crashlytics team will have to deal with soon and fix.

0
Mike Bonnell On

Mike from Fabric here.

We released support for this in 1.22.0 of our Gradle plugin with improved Jack support.