:app:dexDebug ExecException finished with non-zero exit value 2

前端 未结 13 1292
孤独总比滥情好
孤独总比滥情好 2020-11-28 13:44

Could anyone help me out with the following error. When i clean the project, it doesn\'t show any error but every time i try to run i get this message.

Error:Execut

13条回答
  •  执笔经年
    2020-11-28 13:49

    I had the same error

    app:dexDebug ExecException finished with non-zero exit value 2

    i solve it by adding this line of code

    defaultConfig {
            multiDexEnabled true
    }
    

    The reason is that i was using too many libraries

    Hope this post will help anyone

提交回复
热议问题