Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 26.0.2

http://blog.csdn.net//never_cxb/article/details/50520108

于…./app/build.gradle 中
检查buildToolsVersion一行与SDK路径下的BUILDTOOLSVersion是否兼容
同理complieSdkVerision也要兼容

android {
    compileSdkVersion 26
    buildToolsVersion "27.0.2"
    defaultConfig {
        applicationId "com.example.myfirstapp"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

你可能感兴趣的:(Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 26.0.2)