Failed to resolve:com.android.support:appcompat-v7:27.0.1 problem solving

Source: Internet
Author: User

Today, in the case of no signs of androidstudio and convulsions, engaged in the majority of days, tried many online programs, and finally solved the problem. Let's take a step-by-step

The first step: This is the initial bug
Error:failed to resolve:com.android.support:support-annotations:27.0.1
Install Repository and Sync Project
Open File
Show in Project Structure dialog
Error:failed to resolve:com.android.support:appcompat-v7:27.0.1
Install Repository and Sync Project
Open File
Show in Project Structure dialog

This can be done by modifying project Gradle and adding maven {URL "https://maven.google.com"}.


Also, open the SDK Manager



Check to see if repository has been downloaded and installed

Failed to resolve:com.android.support:appcompat-v7:27.0.1 problem solving

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.