branch.io and crashlytics conflict?

EDIT: By now I’ve confirmed that the conflict comes from branch.io, because if I remove it everything works fine.

Hello,
First of all: my code worked fine up until today. And now I get the following error:

 Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/crashlytics/android/answers/shim/R; 

I think it is caused because branch.io includes some parts of fabrics framework and I use fabrics crashlytics framwork in my app. I think there was an update to crashlytics and now there are two different versions of the same framework referenced.

  1. Is that a possibility?
  2. How can I solve that?

Any help would be greatly appreciated. Thanks, Florian

Florian Letz — Developer
Commented on April 7, 2017.

Same problem for me, except I’m not using crashlytics in my app. It’s possible some other framework I’m using is in fact also using crashlytics, but I can’t find trace of it anywhere.

This only shows with v2.6, v2.5.9 doesn’t have this problem.

Brozermo — Developer
1 Answer(s)
Answered on March 31, 2017.

Hey – sorry that you are running into issues here. Can you please create a ticket for our integrations team to look into this here. Thanks!

Developer