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

前端 未结 13 1325
孤独总比滥情好
孤独总比滥情好 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:59

    I faced the same problem when trying to add the SignalR Java client library to my project's dependencies. I first changed the target JDK of my app from 1.8.0_XX to 1.7.0_XX, but it didn't work. Then I changed the SignalR project to target 1.7.0_XX as well, rebuilt and added it to my project's libs folder instead of the first build (which was in 1.8.0_XX), and that miraculously worked.

提交回复
热议问题