Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Translation has been interrupted Error:Execution failed for task ':app:transformClassesWithDexFor_360Debug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:Program FilesJavajdk1.8.0_25injava.exe'' finished with non-zero exit value
对于这种编译时正常,运行时抛出异常的log 看着就让人菊花一紧
经过各种google后,原来是项目中存在相同的jar包,导致运行失败,
解决办法:
删除相同的jar包即可,一般是你刚才添加了某个依赖有冲突,回头想想马上就能发现;