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
For me adding this line (or commenting out because it is written there in the 13th line) in gradle.properties worked:
gradle.properties
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Also I turned off Instant run (Android Studio 2.1.2).