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

后端 未结 10 1970
抹茶落季
抹茶落季 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:39

    Just fixed this issue. In my case, rebuilding the project helped for me. So, try to rebuild your project.

    0 讨论(0)
  • 2020-11-27 20:41

    in my case - Clean Project and Rebuild

    0 讨论(0)
  • 2020-11-27 20:42

    For me closing all other Android Studio solved the problem.

    I had opened 3 android studios when I was getting the error, after I closed 2 I didn't get any error.

    No need to add any code related to multiDex !

    Seems like there was some memory issue related to jvm.

    0 讨论(0)
  • 2020-11-27 20:44

    At my case change buildToolsVersion from "24" to "23.0.2", solve the problem. This will solve the problem especially if you're using old Android Studio less than version 2.

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