I have a problem after migration from android studio 1.5 to 2.0
In one of my project (only one) i can\'t use android studio run button,
because then, build
I discovered many solutions but I solved this issue by adding:
Sol 1: In build.gradle
:
defaultConfig {
multiDexEnabled true
}
Clean your project and rebuild.
Sol 2: If still you have issue in local.properties
add,
org.gradle.jvmargs=-XX\:MaxHeapSize\=512m -Xmx512m
Sol 3 Still, You have issue add below mentioned dependency:
compile 'com.android.support:multidex:1.0.1'
Anyone solution will definitely work for you. Otherwise add all 3 in your application.