I have converted my application into MultiDex to bear with 64k dex limit. Now it looks like this:
public class App extends MultiDexApplication {
private App
I also got this kind of problem. Solution in my case was:
In my build.gradle file, there were multiple entries of compile 'com.android.support:multidex:1.0.0'
in dependencies. like:
dependencies {
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:multidex:1.0.0'
// other dependencies ........
}
just put only one compile 'com.android.support:multidex:1.0.0' like:
dependencies {
compile 'com.android.support:multidex:1.0.0'
// other dependencies ........
}