Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

411
Views
Android studio gradle (Error:Failed to resolve: com.android.support.constraint:constraint-layout-so)

Error:Failed to resolve: com.android.support.constraint:constraint-layout-solver:1.0.2

Install artifact and sync project
Open File
Show in Project Structure dialog

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

go to file>settings>Android sdk>sdk Tools>and update your support repository that fixed my problem

about 4 years ago · Santiago Trujillo Report

0

I encountered this problem as well. It was perplexing to me because the SDK manager showed both ConstraintLayout and its solver as installed. What I did to solve it was the following:

  1. Open the SDK manager (the Android Studio nav bar button with a downward facing arrow and a little Android head)
  2. Click the "SDK Tools" tab
  3. Uncheck boxes next to "ConstraintLayout for Android" and "Solver for ConstraintLayout"
  4. Click "Apply" and confirm that you want to uninstall those components
  5. When uninstallation is complete, recheck the boxes in step 3
  6. Click "Apply" and confirm that you want to reinstall the components

The next time you refresh your gradle projects, everything should work just fine!

about 4 years ago · Santiago Trujillo Report

0

first add google maven repository in module level gradle file(important part)

repositories {
    maven {
        url 'https://maven.google.com'
    }
}

then add this line in dependencies:

compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support.constraint:constraint-layout-solver:1.0.2'
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!