How to activate Multi-Dex?

I am using version 2020.3.34f1. trying to use mediation. (applovin …)
I m getting an error when outputting android.

I tried the codes added to the gradle file, but I couldn’t find a solution. Can anyone help with the exact solution?

What is the error thrown?
Above screenshot doesn’t have any info related to the error.