android-找不到support-annotations.jar

android-找不到support-annotations.jar,android,Android,我正在尝试将项目与Gradle同步。但格拉德尔给出了一些错误 错误代码如下:错误:配置项目“:app”时出现问题 找不到support-annotations.jar(com.android.support:supportannotations:24.0.0)。 在以下位置搜索: 我的build.gradle文件: apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion

我正在尝试将项目与Gradle同步。但格拉德尔给出了一些错误

错误代码如下:错误:配置项目“:app”时出现问题

找不到support-annotations.jar(com.android.support:supportannotations:24.0.0)。 在以下位置搜索:

我的build.gradle文件:

apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"

repositories {
    mavenCentral()
}

defaultConfig {
    applicationId "com.example.ileem.tiiu"
    minSdkVersion 16
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

 dependencies {
   compile fileTree(include: ['*.jar'], dir: 'libs')
 testCompile 'junit:junit:4.12'
 compile 'com.android.support:appcompat-v7:24.0.0-alpha2'
 compile 'com.android.support:design:24.0.0-alpha2'
 compile 'com.facebook.android:facebook-android-sdk:4.0.0'
 compile 'com.google.android.gms:play-services:9.0.0'
 compile 'com.google.maps.android:android-maps-utils:0.4'
 compile 'com.google.firebase:firebase-messaging:9.6.1'
 compile 'com.squareup.okhttp3:okhttp:3.2.0'

 compile files('libs/gson-2.2.4.jar')
 compile files('libs/jsoup-1.10.1.jar')

}
apply plugin: 'com.google.gms.google-services'

尝试升级到生成工具和支持库的最新版本。你可以找到他们