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

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

    Add the following line:

    multiDexEnabled true
    

    Inside the defaultConfig of build.gradle

    Like this:

    defaultConfig{
        multiDexEnabled true
    }
    

提交回复
热议问题