use multiDexEnabled true;
in defaultConfig of Gradle
file as
defaultConfig {
applicationId "Your app Id"
minSdkVersion 19
targetSdkVersion 24
multiDexEnabled true;
}
and add compile 'com.android.support:multidex:1.0.0'
in dependencies
solved facing error during rebuild project [duplicate]