SDK 22.2.0 同步失败

SDK 22.2.0 faild to sync

我刚刚使用新的 SDK 22.2.0

更新了我的 build.gradle 应用程序文件

直到现在我都无法同步文件,因为 android studio 在我按安装时要求我安装 sdk 他给我这个错误:

这是我的 build.gradle 应用程序文件源代码:

apply plugin: 'com.android.application'

android {

compileSdkVersion 22
buildToolsVersion "22.2.0"
defaultConfig {
    applicationId "com.kimo.kimo.pillreminder"
    minSdkVersion 17
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:22.2.0'
}

帮助我。

我刚刚发现错误

为了

compile 'com.android.support:appcompat-v7:22.2.0'

你需要改变

buildToolsVersion "22.0.1"

我现在不知道为什么?

但它解决了同步问题。