How to solve it was not possible to find the version of tools for assembly 26.0.2?

I am trying to install Build Tools 26.0.2 and the synchronization project

Failed to find build tools revision 26.0.2

I clicked “Install Build Tools 26.0.2 and sync project”, but still failed ... Download it from an external link .. but I don’t know where I put it. So what should I do? and thanks

image1 image2

+4
source share
3 answers

Android Studio is looking for build tools 26.0.2, but build tools 27.0.3 are already released for Android Oreo 8.1

I'm not quite sure why, but Android Studio no longer installs the build tools in the gradle "app" file. Here is how I fixed it. You get two options.

26.0.2, SDK. :

1) Android Studio. .

2) "" > "" > " " > " " > "Android SDK"

SDK Tools. . Android SDK Build-Tools 26.0.2, .

, , 27.0.3 ( ). Android 27.0.3 gradle. :

1) , 27.0.3 Android SDK ( ).

2) build.gradle. android. , , Android Android ( , , "1: " ). , [yourappname] > app > build.gradle

3) , - " :" com.android.application " . " compileSDKVersion " buildToolsVersion" 27.0.3"

4) , !

, .

;

+14

, activity_main , gradle , "Install Build Tools 26.0.2 sync project"

​​(file- > seting- > plugin- > search kotlin, ) Android

"Install Build Tools 26.0.2 sync project",

, : C:\Users\\ AppData\Local\Android\SDK\-

+1

I will fix this! just like this by
going to this local url: C: \ Users \ user \ AppData \ Local \ Android \ Sdk \ build-tools and manually delete the folder 26.0.2, then go back to android studio and click the link to download the assembly 26.0. 2
that fix it

0
source

Source: https://habr.com/ru/post/1690458/


All Articles