Gradle Sync Failed: Failed to Find Build Tools Revision 24.0.0 Rc1

android studio Gradle sync failed: Failed to find Build Tools revision 28.0.2

go to build.gradle(Module: app) and check compileSdkVersion and targetSdkVersion, if it's 28 change to 26 or less.
if you wanna to use API 28 you must download build tools revision 28.0.2

Failed to find Build Tools revision 25.0.2 but they are installed

Fixed by invalidating cache & restarting (in file menu)

Failed to find Build Tools revision 31.0.0

Problem fixed.

Previously the class path in my project level gradle was 4.2.2, it was not showing any warning though.

classpath "com.android.tools.build:gradle:4.2.2"

I had to replace it with

classpath 'com.android.tools.build:gradle:7.0.0'

And the project compiled successfully.

@SweetD3v's answer was helpful.

Gradle sync failed: failed to find Build Tools revision 21.1.2

Just open SDK Manager and install Build-tools 21.1.2. below is what you need to install:
Sample Image

Failed to find Build Tools revision 23.0.1

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.



Related Topics



Leave a reply



Submit