2

I am getting the error "Failed to find Build Tools revision 25.0.2" but when I go to android SDK manager, over to SDK Tools, check 'show package details', under Android SDK Build-Tools, it shows 25.0.2 as installed.

It is installed in {USER}/Library/Android/sdk/build-tools/

I'm running Android Studio 2.3.3. Is there anything obvious I'm doing wrong?

Nodeocrat
  • 816
  • 2
  • 14
  • 29

3 Answers3

7

Fixed by invalidating cache & restarting (in file menu)

Nodeocrat
  • 816
  • 2
  • 14
  • 29
  • If this action helped you resolve your issue then please consider marking this answer as accepted. You can use the grey check mark below voting buttons to do so. It helps the community to focus on unanswered questions. – RBT Nov 04 '17 at 00:18
2

In file build.gradle you have to change the line:

buildToolsVersion:{version} to buildToolsVersion:25.0.2

as pointed out here: Gradle sync failed: failed to find Build Tools revision 24.0.0 rc1

Viper
  • 46
  • 1
0

Ensure that google maven is added to your project build.gradle:

maven {
    url 'https://maven.google.com/'
    name 'Google'
}

and buildToolsVersion:25.0.2 is updated to 25.0.3 (or newer)

m02ph3u5
  • 3,022
  • 7
  • 38
  • 51