android – Failed to find Build Tools revision 23.0.1

android – Failed to find Build Tools revision 23.0.1

You should install Android SDK Build Tools 23.0.1 via Android SDK. Dont forget to check Show Packages Details.

Image

I faced the same problem and I solved it doing the following:

Go to /home/[USER]/Android/Sdk/tools
and execute:

$android list sdk -a

Which will show a list like:

  1. Android SDK Tools, revision 24.0.2
  2. Android SDK Platform-tools, revision 23.0.2
  3. Android SDK Platform-tools, revision 23.0.1

… and many more

Then, execute the command (attention! at your computer the third option may be different):

$android update sdk -a -u -t 3

It will install the 23.0.1 SDK Platform-tools components.

Try to build your project again.

android – Failed to find Build Tools revision 23.0.1

Either install v23.0.1 of the build tools (the fifth row in your screenshot), or change your code to use the build tools version you already have installed (v23.0.3). This can be specified in your apps build.gradle file:

android {
    compileSdkVersion 23
    buildToolsVersion 23.0.3

    defaultConfig {
        ...
    }
}

As per duncanc4s comment below,

The build.gradle file you want to edit is in the android/app folder
within your project directory.

Leave a Reply

Your email address will not be published.