title: ERROR :rendering problems The following classes could not be found android.support.v7.internal.widget.ActionBarOverlayLayout
body: <p>I am just a beginner to android app development. When i created a new project on Android Studio 1.1.0,
  it gives up this error
  "<strong>rendering problems
  The following classes could not be found android.support.v7.internal.widget.ActionBarOverlayLayout</strong>"</p>
  
  <p>Now i have searched about this on google, and i found possibly 3 solutions given by most of the people.</p>
  
  <p>They say:</p>
  
  <ol>
  <li><p>Either change the api (from preview window pane) from 22 to 21, or</p></li>
  <li><p>Change the App Theme from "Project Theme" to any other theme.</p></li>
  <li><p>be sure to have imported right appcompat-v7 library in your project structure -> dependencies, 
  <strong><em>Refer these steps</em></strong>:
  Add the support library feature project identifier to the dependencies section. For example, to include the appcompat project add compile "com.android.support:appcompat-v7:18.0.+" to the dependencies section, as shown in the following example:</p></li>
  </ol>
  
  <blockquote>
  <pre><code>dependencies {
      ...
      compile "com.android.support:appcompat-v7:18.0.+" }
  </code></pre>
  </blockquote>
  
  <p>Note: My android support lib is up-to-date (installed it using SDK Manager). </p>
  
  <p>Following first two steps, removed the error. But I feel that these are not the permanent solutions, the Second step seems just like a temporary workaround. I have doubts about the First step also, that if to remove the error, we change api from 22 to 21, then at the end, our app wont work in Android 5.1.1(API 22), it would be restricted to Android 5.0.1 and below only (API 21). Are my doubts valid? 
  Regarding the third step, is it the permanent solution to this problem? </p>
  
  <p>P.S : Sorry for mismatching tags, wasn't allowed to add exact tags due to site reputation</p>