Android Studio First Use problem resolution

Source: Internet
Author: User

Today, an Android Studio, ready to change the platform, but to create a new project encountered a problem, the internet did not find a complete solution, the study of the issue for your reference

Problem: Unable to find R file error error:execution failed for task ': App:processdebugresources '. > Com.android.ide.common.process.ProcessException:Failed to execute AAPT

Problem reason: Compilesdkversion is higher than buildtoolsversion, you can build a lower version of the SDK project with a higher version of Build-tool, but the reverse is not

WORKAROUND: 1. Update ANDROID-SDK Build-tools

2. Modify the corresponding version number in the Build.gradle

     

And then my problem is solved.

may not be a problem for many people, but since I met, it is possible to have friends will encounter the same problem, hoping to provide reference

Android Studio First Use problem resolution

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.