D. Ace
D. Ace

Reputation: 418

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

Upvotes: 4

Views: 14022

Answers (3)

user6354285
user6354285

Reputation: 1

I have changed compileSdkVersion and buildToolsVersion in gradle settings like below.It works.

compileSdkVersion 23 buildToolsVersion "23.0.0"

By Kalaimani.R

Upvotes: 0

IntelliJ Amiya
IntelliJ Amiya

Reputation: 75788

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

Upvotes: 7

Coas Mckey
Coas Mckey

Reputation: 709

AS far as your this error line concern

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

It clearly says that you need to install the above mention package to build the project I mean to see the project according to new build version and techniques. So you need to update your sdk .

now come to the second error , There are couple of posibilites which I can think of 1. Make sure you are not behind any type of proxy, if so then set that proxy in your AS too.

  1. if you have not any real issue in your network such as As I described above, then You are better to delete the folder of 23.0.0 rc2 and respective folder I mean 23XX folders. and then try launching the sdk manager again

I hope this would solve your problem , mean while if you want to see your project on different build version , please see the image below and try this enter image description here

I hope this would solve your problem.

Edit 2: As I read your comment after posting this answer

You should change the build tool version in your build.gradle file in the Android studio. I think that this would work enter image description here

Upvotes: 5

Related Questions