Android AddThis sdk + Facebook sdk will not be created in Android Studio

I have a project that I am working on in Android Studio, which currently uses the SDK to get some information about the Facebook user. It works very well.

I also need to implement AddThis, however, when I try to compile this project with both SDKs to which I refer, I get an error:

Android Dex: [<removed>] com.android.dx.util.DexException: Multiple dex files define Lcom/facebook/android/AsyncFacebookRunner$1;

Inside AddThis.jar, as expected, there is com.facebook.android.AsyncFacebookRunner. Obviously, it also exists in the Facebook SDK. There is functionality that I need in AddThis, which does not exist on Facebook, and vice versa.

Does anyone know a way to handle this situation?

+3
source share
1 answer

:

SDK Facebook , , AddThis0.8.8.jar SDK Facebook .

com.facebook.android. * SDK Facebook (com.facebook.android. *) AddThis. , com.facebook.android - SDK Facebook - com.addthis in ( , ? Android Studio , "ATButton" . : " , JetBrains!" ).

AddThis, SDK Facebook - .

, - -.

[]

. SDK Facebook Facebook AddThis. 100% , , , Facebook Facebook. , , .

+3

All Articles