错误:无法找到构建工具版本23.0.0 rc2-Android Studio [英] Error:failed to find Build Tools revision 23.0.0 rc2 - Android Studio
问题描述
我一直在使用Android Studio在MacBook Pro中开发项目.我将项目存储在GitHub存储库中.但是现在我使用的是Windows笔记本电脑,因此我克隆了项目并尝试在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
我点击了
Install Build Tools 23.0.0 rc2 and sync project" but I’m getting another error:
Loading SDK information...
忽略未知的软件包过滤器'build-tools-23.0.0-preview'警告:软件包过滤器删除了所有软件包.没有要安装的内容. 请考虑在没有包过滤器的情况下尝试再次更新.
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).
当我在Macbook中克隆项目时,一切正常,因此我不确定为什么它不能在Windows中工作.
When I clone my project in a Macbook everything works fine, so I'm not sure why it's not working in Windows.
以下是屏幕截图:
推荐答案
您可以使用
compileSdkVersion 23
buildToolsVersion "23.0.0"
然后
单击按钮与Gradle文件同步项目应该可以解决问题:
Clicking the button Sync Project With Gradle Files should do the trick:
Tools -> Android -> Sync Project with Gradle Files
Tools -> Android -> Sync Project with Gradle Files
如果失败,请尝试运行重建项目:
If that fails, try running Rebuild project:
Build -> Rebuild Project
Build -> Rebuild Project
有关更多详细信息,您可以访问
For more details ,you can visit
这篇关于错误:无法找到构建工具版本23.0.0 rc2-Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!