Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:failed to find Build Tools revision 23.0.0 rc2 - Android Studio

I been developing my project in my MacBook pro using Android Studio. I stored my project in a GitHub repo. But now I’m using Windows laptop so I cloned my project and try to run in Android Studio and I am getting the following error:

Error:failed to find Build Tools revision 23.0.0 rc2
Install Build Tools 23.0.0 rc2 and sync project

I clicked on

Install Build Tools 23.0.0 rc2 and sync project” but I’m getting another error:
Loading SDK information...

Ignoring unknown package filter 'build-tools-23.0.0-preview'Warning: The package filter removed all packages. There is nothing to install. Please consider trying to update again without a package filter.

Install Failed. Please check your network connection and try again. You may continue with creating your project, but it will not compile correctly without the missing components. (I have already checked my network connection, I’m connected to the internet using a wired connection).

When I clone my project in a Macbook everything works fine, so I'm not sure why it's not working in Windows.

Here is the screenshot:enter image description here

like image 595
D. Ace Avatar asked Dec 15 '22 11:12

D. Ace


1 Answers

You can use

compileSdkVersion 23
buildToolsVersion "23.0.0"

Then

Clicking the button Sync Project With Gradle Files should do the trick:

Tools -> Android -> Sync Project with Gradle Files

If that fails, try running Rebuild project:

Build -> Rebuild Project

For more details ,you can visit

AndroidStudio: Failed to sync Install build tools

like image 51
IntelliJ Amiya Avatar answered Apr 30 '23 13:04

IntelliJ Amiya