Gradle DSL method not found : 'multiDexEnabled()'
问题 I followed the multidex guide at https://developer.android.com/tools/building/multidex.html But I get this error Gradle DSL method not found : 'multiDexEnabled()' . I have updated Android Built Tools , Android Support Repository and Library. Here is my gradle.build file. Am I doing something wrong here? Could not find method multiDexEnabled() for arguments [true] on ProductFlavorDsl_Decorated{name=main, minSdkVersion=ApiVersionImpl{mApiLevel=10, mCodename='null'}, targetSdkVersion