将支持库添加到 build.gradle & 同步项目后无法导入 RecyclerView

Can't import RecyclerView after adding the support library to build.gradle & syncing project

我正在使用 Android Studio Beta 6,并且我在 build.gradle 的末尾添加了 RecyclerView 支持库。 我的应用程序已经 运行 正常,我现在只需要使用 RecyclerView

这是build.gradle

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.2"

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 21
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
        addCustomFieldsToBuildConfig(release)
        addCustomFieldsToBuildConfig(debug)
    }
}

dependencies {
    // ...
    compile 'joda-time:joda-time:2.1'
    compile 'com.google.android.gms:play-services-ads:+'
    compile 'com.google.android.gms:play-services-analytics:+'
    compile 'com.android.support:support-v13:21+'
    compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
    compile files('libs/com_nineoldandroids.jar')
    compile files('libs/comscore.jar')
    compile files('libs/crittercism_v2_1_7_crashonly.jar')
    compile files('libs/urbanairship-lib-1.0.1.jar')
    compile files('libs/adobeMobileLibrary-4.8.1.jar')
    compile "commons-io:commons-io:2.4"
    compile 'org.jsoup:jsoup:1.8.3'

    // I WANT TO ADD THESE:
    compile 'com.android.support:appcompat-v7:21.+'
    compile 'com.android.support:recyclerview-v7:21.+'
}

我已经尝试了 RecyclerView 的特定版本,例如“21.0.2”,但它们都会导致相同的问题。我要求 Android Studio 同步 gradle 设置,没有错误。

但是如您所见,我无法在 support 之后自动完成 v7

如果这会帮助处于与 Android Studio 类似情况的人,但我必须先转到 Build -> Make Project 才能解决对 RecyclerView 的引用class.