title: Import android.support.v7.app cannot be resolved
body: <p>I am getting cannot resolved error while importing 
  android.support.v7.app.Fragment.</p>
  
  <p>I tried all solution which is given in different threads.
  Am I missing something please help.</p>
  
  <ol>
  <li>I have downloaded android support libraries.</li>
  <li><code>minSdkVersion 14   targetSdkVersion 14</code></li>
  <li><p>added library in dependency</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.1.1'
      compile 'com.android.support:support-v4:22.1.1'
  }
  </code></pre></li>
  <li><p>synchronize build.gradle file (Right click on file --> Synchronize
  'build.gradle') and Clean your project (Build --> Clean Project)
      after the change.</p></li>
  </ol>
  
  <p><strong>Still I am not able to reslove this. Please help</strong></p>
  
  <p><strong>build.gradle(Module: app)</strong></p>
  
  <pre><code>    apply plugin: 'com.android.application'
      android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
  
      defaultConfig {
          applicationId "com.example.android.effectivenavigation"
          minSdkVersion 14
          targetSdkVersion 14
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.1.1'
      compile 'com.android.support:support-v4:22.1.1'
  }
  </code></pre>
  
  <p><strong>AndroidManifest.xml</strong></p>
  
  <pre><code>    &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.example.android.effectivenavigation"
          android:versionCode="1"
      android:versionName="1.0"&gt;
  
      &lt;uses-sdk android:minSdkVersion="14" /&gt;
  
      &lt;application android:label="@string/app_name"
          android:icon="@drawable/ic_launcher"
          android:theme="@android:style/Theme.Holo.Light.DarkActionBar"&gt;
  
          &lt;activity android:name=".MainActivity" android:label="@string/app_name"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
          &lt;activity android:name=".CollectionDemoActivity" android:label="@string/demo_collection" /&gt;
  
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>