W3Schools Learner's Blog

W3Schools Programming knowledge summary website

div

1/12/2018

Error:Failed to find Build Tools revision 26.0.2

Upgrade Android Studio version from 2.3.3 to 3.0, when I open Android Studio3.0, I got this error:Failed to find Build Tools revision 26.0.2, as follows:
  1. Error:Failed to find Build Tools revision 26.0.2
  2. Install Build Tools 26.0.2 and sync project
This is because we are going to use buildToolsVersion "26.0.2" in the build.gradle file, and now we don't have the compiler tool , so you need to download it .
Click"Install Build Tools 26.0.2 and sync project" to download it.

2 comments:

  1. If it would be this easy.... When I click on that link I get : "The following packages are not available : build-tools 26.0.2 ... "

    ReplyDelete
    Replies
    1. Change buildTollVersion "XXX" to your current version.

      Delete

Note: only a member of this blog may post a comment.