Android studio 2.0 gradle transformClassesWithDexForDebug fails when using button “run”

后端 未结 14 2046
被撕碎了的回忆
被撕碎了的回忆 2020-12-25 11:21

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

14条回答
  •  太阳男子
    2020-12-25 12:08

    For me adding this line (or commenting out because it is written there in the 13th line) in gradle.properties worked:

    org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
    

    Also I turned off Instant run (Android Studio 2.1.2).

提交回复
热议问题