Thank you, that worked for the Fyber sample, however the same problem occurs in my production environment. I can also replicate it with a brand new Cocos2d-x project with my required SDKBox SDKs:
The reason is that Some plugin they requires the same .jar lib file, but renamed it for some reason…
So sdkbox installed a same jar (or same jar but different version) twice, that will result in a multiple dex error.
Basically, anytime you see multiple dex error that means there is a duplicate of jar libs
If you’re using android-studio build, you’ll have to remove this one as well
By moving all three jar files from the project directories after the first test compile was complete, I was able to get the project to compile and run.
Some kind of dependency manager would be very welcome.