I followed the multidex guide at https://developer.android.com/tools/building/multidex.html
But I get this error Gradle DSL method not found : \'multiDexEnab
I also received this error when I placed the multiDexEnabled true command in the wrong location. Make sure it's in the defaultConfig code block:
multiDexEnabled true
android { ... defaultConfig { ... // Enabling multidex support. multiDexEnabled true } }