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

后端 未结 14 1897
被撕碎了的回忆
被撕碎了的回忆 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:23

    I have the same problem, on linux. For some reason, some files and dirs inside /build can not be deleted, not even with 'sudo -rf', and this is the origin of the problem for me. I built the project in a MacBookPro and no problem.

    0 讨论(0)
  • 2020-12-25 12:24

    add

    dexOptions {
        javaMaxHeapSize "4g"
    }
    

    in android

    0 讨论(0)
提交回复
热议问题