Multi dex problem when compiling

Hi, I have a big problem. After integrating sdkbox::PluginSdkboxPlay, sdkbox::PluginFacebook, sdkbox::PluginShare and sdkbox::PluginVungle and trying to compile I get the next error:

[dx] UNEXPECTED TOP-LEVEL EXCEPTION:
       [dx] com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

I’ve searched a little and I think it is because the app is exceeding the 64K dex limit. But the game itself is not that big, and at this time I’m only integrating 3 plugins so what’s the problem? How can this be fixed? It seems to be a big issue since this means that almost no game that includes these plugins will be able to compile…

you can use multi dex lib as explained by google here.