> Could not find method multiDexEnabled() for arguments [true] on ProductFlavorD
sl_Decorated{name=main, minSdkVersion=ApiVersionImpl{mApiLevel=14, mCodename='nu
ll'}, targetSdkVersion=ApiVersionImpl{mApiLevel=21, mCodename='null'}, renderscr
iptTargetApi=-1, renderscriptSupportMode=null, renderscriptNdkMode=null, version
Code=-1, versionName=null, applicationId=null, testApplicationId=null, testInstr
umentationRunner=null, testHandleProfiling=null, testFunctionalTest=null, signin
gConfig=null, resConfig=null}.
Answer:
multiDexEnabled property configured in Gradle plugin.
In your main build.gradle file, make sure that its version is at least 0.14.0:
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:0.14.0'
}
}