在android studio上新建了一个工程,然后运行的时候就报错了:
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.>com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\jdk1.7.0_10\bin\java.exe'' finished with non-zero exit value 1
我的jdk用的确实的是jdk1.7.0_10,在网上各种找答案,大伙的解决办法没有解决我的问题,于是尝试把jdk版本改为1.8,再次运行,竟然ok了,哈哈