导入新的jar包后运行Message中报错:
Error:Execution failed for task ‘:app:dexDebug’.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘/Library/……/java” finished with non-zero exit value 2
原因:导入的jar包和项目中已存在的包冲突
检查后发现,导入的jar包中有一个目录在项目中另一个jar包也能找到,由于已经存在的jar包是暂时不用的,所以删除后就正常了