Error:execution failed for task ': App:transformclasseswithdexfordebug '.

Source: Internet
Author: User

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 '.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.