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
Make sure the dependencies in your app's gradle file have this lines:
dependencies {
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:appcompat-v7:21.0.0'
}
Also, in your global (Project) gradle file, make sure you have the latest gradle version.
dependencies {
classpath 'com.android.tools.build:gradle:0.14.0'
}
In your SDK manager, make sure you have the latest support libraries and repo.
In your AndroidManifest.xml. add the following line:
android:name="android.support.multidex.MultiDexApplication"
You can read the entire documentation here.