Gradle Pit of Android Studio 3.0

Source: Internet
Author: User

The Event log shows the Gradle syn failedThere are 6 errors shown in LogcatError:resource Style/base.v26.widget.design.appbarlayout (aka com.example.reshangkeji.ydc:style/ Base.V26.Widget.Design.AppBarLayout) not found.
error:failed linking references.
Error:java.util.concurrent.ExecutionException:java.util.concurrent.ExecutionException: Com.android.tools.aapt2.Aapt2Exception:AAPT2 Error:check logs for details
Error:java.util.concurrent.ExecutionException:com.android.tools.aapt2.Aapt2Exception:AAPT2 Error:check Logs For details
Error:com.android.tools.aapt2.Aapt2Exception:AAPT2 Error:check logs for details
Error:execution failed for task ': App:processdebugresources '.
> Failed to execute AAPT start thinking is the cause of the project, and then re-establish the project still reported this error, so it is the cause of itselfon the Internet to check the discovery is the reason for the gradle update, AS3.0 does not support Gradle3.0.1in the project's Build.gradle, change the 3.0.1 to 3.0.0, then click on the upper sync now reload. After the load is complete, as will prompt you to update the Gradle and ignore it directly.

After that, there's no problem. The project can be rerun on the virtual machine ~ ~ ~


Gradle Pit of Android Studio 3.0

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.