When using Android Studio, the compilation was successful but the build apk was used to error
Environment: Android Studio 2.0, jdk1.7
Error: Error:execution failed for task ': App:transformclasseswithdexfordebug '.
> com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException: Java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException: Org.gradle.process.internal.ExecException:Process ' command ' D:\Program files\java\jdk1.7.0_79\bin\java.exe ' Finished with Non-zero exit value 1
Search on the Internet a lot of solutions can not be solved, and then re-created a new empty engineering comparison build.gradle found "Buildtoolsversion ' 23.0.1 '" Problem of the project is Buildtoolsversion ' 24.0.0 RC1 '. Solve the problem after changing the buildtoolsversion. I think this issue is still a version compatibility issue. jdk1.7 problems with the latest 24.0.0.RC1.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7D/6B/wKiom1bnztDA4vRQAAFP0HRI-pA908.jpg "title=" 11111. JPG "alt=" wkiom1bnztda4vrqaafp0hri-pa908.jpg "/>
Error:execution failed for task ': App:transformclasseswithdexfordebug '.