AndroidStudio: Failed to sync Install build tools –

Development issue/problem:

It’s crazy to make that mistake after a few hours.

The mistake is:

The 23.0.0 rc1 version from the manufacturer was not found.

But I think all updates (candidate for release as well!).

Here’s a picture: Thank you very much.

How can I solve this problem?

Solution 1:

Go to File > Project structure > Module > Properties, on this screen enter a description of the image in .

Select the Build Tools version in the same way as the version selected under Compile Sdk Version.

I hope this solves your problem.

Solution 2:

I can solve the problem by changing it by

android {
compileSdkVersion 23
buildToolsVersion 23.0.3
}

in the build.gradle file

Solution 3:

I had the same problem with the 24.0.0-rc4 version of the build tools. The solution was to install the package from the command line.

~/Android/Sdk| ls -1 Construction equipment/
23.0.3
24.0.0-rc4
~/Android/Sdk| ./tools/android list sdk -a | handle SDK Construction equipment
4- Android SDK Construction equipment, Revision 24 rc4
5- Android SDK Construction equipment, Revision 23.0.3
6- Android SDK Build, Revision 23.0.2
7- Android SDK Build, Revision 23.0.1
8- Android SDK Build, Revision 23 (Obsolete)

~/Android/Sdk| ./tools/android update sdk -a -u -t 4

~/Android/Sdk| ls -1 construction equipment/
23.0.3
24.0.0-preview
24.0.0-rc4

(Note that the 4 in the android update sdk command above refers to the previous list number for the desired version, which is at the beginning of the line).

The build-tools/24.0.0-rc4/ directory was created when installing the package via the Android Studio SDK manager. The built-in/24.0.0 preview/tools were created using the above method.

My build.gradle application script uses the -rc4 version as indicated in the installation instructions :

android {
compileSdkVersion ‘android-N’
buildToolsVersion ‘24.0.0-rc4’
}

I don’t understand the relationship between -rc4 and -preview, nor why the 24.0.0-rc4 specification makes the -preview package appear, but that solved the problem for me.

Solution 4:

I have the same problem.
I have solved this problem in the following way.

First go to the build.gradle application file and modify it.

android {
compileSdkVersion 22
buildToolsVersion 23.0.0 rc2
}

Sync and corrections by n17t01

android {
compileSdkVersion 22
buildToolsVersion 23.0.0
}

I hope this solves your problem.

Solution No 5:

I had the same problem and solved it by going to File->Project->Project Settings and changing the Android plugin version to 1.3.0-beta1.

HIH

Solution No 6:

I had the same problem today,

And solve it by simply following these points

1) Start the standalone SDK Manager (To open the standalone SDK Manager – Tools>Android>SDKManager> below you will see a link to start the standalone SDK Manager).

2) Delete the already installed Build Tools SDK package, e.g. B. for 24.0.0 rc4.

3) Close the offline SDK manager and restart Android Studio.

4) After the restart, Degree will start building the project and you will receive a warning to download the SDK and synchronization tools. Click on it and downloading will start as follows….

I hope this helps.

Solution No 7:

I had the same problem, in my case it’s because I changed the time of my computer to download the .apk in Google Play. I tried for hours to solve this problem until I remembered it and put the time back.

Solution No 8:

One answer suggests the use of buildTools version 23.0.0, but you get the impression that buildTools version 23.0.0 contains serious errors when using buildTools version 23.0.3. I did it and I got a message that buildTools version 23.0.3 is too weak because I updated and resynchronized the project application for version 25.0.0. So that’s what I did, and it worked, so here are the latest changes.

In the application, build.gradle changes this.

android {
compileSdkVersion 22
buildToolsVersion 23.0.0 rc2
}

Sync and corrections by n17t01

android {
compileSdkVersion 22
buildToolsVersion 23.0.0
}

Solution No 9:

I see on the screenshot that you have installed BuildTools far 23.0.0 rc2. So to do it right, open your gradle file build.gradle(module:app) and edit the buildToolsVersion section as follows:

android {
compileSdkVersion 22
buildToolsVersion 23.0.0 rc2
}

Solution No 10:

If you have multiple SDK slots (which can happen if you play with multiple versions of Android Studio and create a new SDK slot, which I did), check the local.properties file (both the project and your module if you have this structure) and make sure the line sdk.dir=/home/yourSdkLocation points to the SDK you want to use.

That’s why it didn’t work for me, and that solved the problem.

Good luck!

Related Tags:

download build tools revision 26.0 2,package id build tools 27.0 3,android sdk 26.0 3 download,دانلود build tools 27.0 3,android build tool 28.0 3 download,failed to find build tools revision 27.1 1,gradle build failed android studio,android support plugin,android studio 4.1 download,android studio not opening,android studio bug report,sync project with gradle file android studio,gradle sync failed failed to sync sdks 3 ms,android build-tools download,android sdk build tools 30 rc1,gradle sync failed cause failed to find build tools revision 20.0 0,failed to find build tools revision 24.0 0 rc3,gradle sync failed: failed to find build tools revision 24.0 3,android build tools version 19.1 0 or higher,gradle sync failed project build was cancelled

Leave a comment

Your email address will not be published. Required fields are marked *