title: Failed to resolve: com.android.support:appcompat-v7:22.2.1
body: <p>when I import an eclipse project to the AS,an error occurred:</p>
  
  <pre><code>E:\studioWorkspace\YTHDBL\yTHDBL\build.gradle
  Error:Error:line (25)Failed to resolve: com.android.support:appcompat-v7:22.2.1
  Install Repository and sync project
  Show in File
  open.dependency.in.project.structure
  Show in Project Structure dialog&lt;/a&gt;
  Error:Error:line (24)Failed to resolve: com.android.support:support-v4:22.2.1   
  Install Repository and sync project
  Show in File
  open.dependency.in.project.structure
  Show in Project Structure dialog
  </code></pre>
  
  <p>I searched for answers and found this:<a href="https://stackoverflow.com/questions/27048859/how-do-i-properly-install-support-v7-repo-in-android-studio">how do I properly install support_v7</a></p>
  
  <p>Did I set the wrong support library number?,I tried 22.0.0,22.2.0.....,but not worked. </p>
  
  <p>In my sdk manager ,the Android support Repository was installed,reversion 16,and the Android Support Library was already installed,reversion 22.2.1.
  The google Repository was installed too.</p>
  
  <p>and this is my build.gradle:</p>
  
  <pre><code> dependencies {
      compile project(':library')
      compile project(':alipay_lib')
      compile project(':sMSSDK')
      compile 'com.android.support:support-v4:22.2.1'
      compile 'com.android.support:appcompat-v7:22.2.1'
      compile files('libs/alipay.jar')
      compile files('libs/android-query.0.25.10.jar')
      compile files('libs/baidumapapi_v3_1_0.jar')
      compile files('libs/commons-codec-1.6.jar')
      compile files('libs/jackson-core-asl-1.9.11.jar')
      compile files('libs/jackson-mapper-asl-1.9.11.jar')
      compile files('libs/jpush-sdk-release1.7.5.jar')
      compile files('libs/locSDK_4.2.jar')
      compile files('libs/umeng-analytics-v5.5.3.jar')
      compile files('libs/zxing.jar')
  }
  </code></pre>
  
  <p>where are the problems?  and now I can't find the "try again" button in AS,how can I try again?</p>