eI found this error after adding compile files(\'libs/mpandroidchartlibrary-2-1-6.jar\'). It work properly before adding mpandroidchartlibrary-2-1-6.jar
FAT
** Finally this work for me..
->Configuring Your App for Multidex with Gradle. http://developer.android.com/tools/building/multidex.html#mdex-gradle**
1)Modify your manifest to reference the MultiDexApplication class
android {
compileSdkVersion 21
buildToolsVersion "21.1.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
multiDexEnabled true
}
dependencies {
compile 'com.android.support:multidex:1.0.0'
}
'}'
**2) In your manifest add the MultiDexApplication class from the multidex support library to the application element.
Add following line in the application tag of manifest file.**