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

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

    The accepted answer might work, but I'll share what fixed this with me. It was due to the maximum number of methods being reached after the addition of an additional library dependency.

    See this guide here to fix, skip down to Configuring Your App for Multidex with Gradle section to get to the point.

提交回复
热议问题