title: Android Studio - Error: Failed to resolve: com.android.support.constraint:constraint-layout:1.0.0-alpha1
body: <p><a href="https://i.stack.imgur.com/puIl8.jpg" rel="noreferrer">Screen Shot #1 - Android Studio Project Gradle Build View</a></p>
  
  <p><a href="https://i.stack.imgur.com/o0yNQ.jpg" rel="noreferrer">Screen Shot #2 - Android Studio Project Gradle Sync View</a></p>
  
  <p>Going through the "Android Studio 2.2 Development Essentials book" and following along with the tutorial in chapter 3. Everything was OK until I completed a task in the Development Essentials book (chapter 3, page 24 in book) that said, </p>
  
  <blockquote>
    <p>As we can see from the component tree hierarchy, the user interface
    layout consists of a layout parent with a single child in the form of
    a TextView object. If Android Studio has used a RelativeLayout manager
    for the project, the first step is to convert it to a
    ConstraintLayout. ConstraintLayout is a new and flexible layout
    manager that is used in most projects in this book. To achieve this
    conversion, right-click on the content_android_sample entry in the
    Component Tree and select the Convert RelativeLayout to
    ConstraintLayout menu option as shown below:</p>
  </blockquote>
  
  <p>Upon completion of the above quoted tutorial task (in chapt. 3 of the Development Essentials book), an error was presented that said: </p>
  
  <p><strong><em>Error: Failed to resolve: com.android.support.constraint:constraint-layout:1.0.0-alpha1</em></strong> </p>
  
  <p>Also, a rendering error was listed as well that said:</p>
  
  <p><strong><em>Rendering Problems The following classes could not be found:
  - android.support.constraint.ConstraintLayout (    Add constraint-layout library dependency to the project, Fix Build Path, Edit XML, Create Class)</em></strong></p>
  
  <p>Any thoughts on how to fix this? Please see screen shots attached (above). I'm new to Android Studio. </p>
  
  <p>Thank you very much for your time.</p>
  
  <p>I am using the following OS and Android Studio version below:</p>
  
  <p>Win7 professional 64 bit OS</p>
  
  <p>Android Studio 2.2</p>
  
  <p>Build# AI-145,3330264, Built on October 6, 2016</p>