Android Studio TransformException : Error:Execution failed for task ':app:transformClassesWithDexForDebug'

后端 未结 10 1971
抹茶落季
抹茶落季 2020-11-27 20:11

I am getting the exception below when I am trying to run the application using Android Studio:

Error:Execution failed for task \':app:transformClasses

10条回答
  •  情深已故
    2020-11-27 20:22

    in my case using android studio 2.0 preview 4 I suddenly got that problem and adding multiDexEnabled true didn't help, and also clean and rebuilt didn't help.

    so the only thing that solved it for me is deleting that file:

    YOUR_APP_NAME\app\build\intermediates

    and run the application and it works.

提交回复
热议问题