Weird : UNEXPECTED TOP-LEVEL EXCEPTION: Execution failed for task app:dexDebug

前端 未结 4 2017
滥情空心
滥情空心 2020-12-03 18:13

I didn\'t implement new libs but this problem occured while coding :

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

com.android.ide.commo

4条回答
  •  猫巷女王i
    2020-12-03 19:16

    I solved my problem with adding these in build gradle:

        defaultConfig {
          multiDexEnabled true
    
    
        dependencies {
          compile 'com.android.support:multidex:1.0.0'
    

    another solution can be removing unnecessary libraries

提交回复
热议问题