1

is there another solution for the "Multiple dex files define Landroid/support/annotation/AnimRes" error using Facebook SDK for android, besides excluding group: 'com.android.support', module: 'support-v4'4 in build.graddle?

When I do this, another SDK, for another service that I use, fails and shows me: "error inflating class android.support.v7.internal.widget.actionbaroverlaylayout"

So, can somebody point me to another workaround so I don't have to exclude group: 'com.android.support', module: 'support-v4' and that way I can use another SDK that I need too.

Franklyn
  • 75
  • 1
  • 7

1 Answers1

1

Have you tried this solution? Otherwise try the most voted one of that thread, this must be your solution for sure.

Community
  • 1
  • 1
GoRoS
  • 5,183
  • 2
  • 43
  • 66
  • 1
    Thanks a lot. I removed the jar for support-v4 from facebook and added it like this compile 'com.android.support:support-v4:20.0.+' in facebook's graddle script and in the main one. – Franklyn Oct 08 '15 at 14:26