[Android Studio] failed to find Build Tools revision 23.0.0 rc1


Failed to find Build Tools revision 23.0.0 rc1

If you get the above error message while working with Android Studio, make sure that you have downloaded the M Preview (23) from SDK Manager under Tools (Preview Channel).

If you have downloaded/updated to 23.0.0 rc1 or higher and you are still facing this issue then you must make sure following changes in your build.gradle (Module:app) file has the compileSdkVersion and buildToolsVersion as in the below example.

apply plugin: 'com.android.application'

android {
    compileSdkVersion 'android-MNC'
    buildToolsVersion "23.0.0 rc1"

    defaultConfig {
        applicationId "org.code2care.app"
        minSdkVersion 'MNC'
        targetSdkVersion 'MNC'
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
}


















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap