I integrates two libraries to my android project: Vungle SDK and Tune SDK. So, Tune SDK has de.greenrobot:eventbus:2.4.0
dependency, but Vungle has a eventbus-2.2.1.jar
. If I add both of them to project, I give an error: Multiple dex files define
error. But if I don't add one of version of eventbus to project, I give NoDefClassFoundException
runtime.
So, how to resolve this? This is very painful