Execution failed for task ':app:dexDebug' Android Studio

后端 未结 8 706
别那么骄傲
别那么骄傲 2021-01-11 17:37

The application was able to execute before updating my android studio,this is the error I am getting:

Error:Execution failed for task \':app:dexDebug\'.
>         


        
8条回答
  •  一向
    一向 (楼主)
    2021-01-11 18:21

    If you have support-v4 and support-v7 (with different version) in build.gradle then add this line into your build.gradle at top.

    configurations { all*.exclude group: 'com.android.support', module: 'support-v4' }

    Also read this

提交回复
热议问题