Error:execution failed for task ': App:transformclasseswithdexforrelease '

Source: Internet
Author: User

Android Studio 3.0.1 packed in a pit

Using the Android Studio 3.0.1 version, buildtoolsversion "26.0.2"
Debug mode does not have any problems running the app, but it will not work when packaged, and report the following error:
Error:execution failed for task ': App:transformclasseswithdexforrelease '.
> com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException: Java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException:Error while executing Java process with main class Com.android.dx.command.Main with arguments {--dex--num-threads=4--multi-dex--main-dex-lis T E:\Android\code\FTS6\app\build\intermediates\multi-dex\release\maindexlist.txt--output E:\Android\code\FTS6\ App\build\intermediates\transforms\dex\release\0--min-sdk-version E:\Android\code\FTS6\app\build\ Intermediates\transforms\jarmerging\release\0.jar}

Search on the internet many times without fruit, and finally think of themselves in the use of Eclipse, Replaced the Dx.jar package (as to why the replacement, but also because the eclipse is not very compatible with the latest SDK reasons), fortunately before the replacement before they have a backup, restore back, pack it up again, the pit of their own tread, record

Error:execution failed for task ': App:transformclasseswithdexforrelease '

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.