Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
来源:互联网 发布:软件测试覆盖率 编辑:程序博客网 时间:2024/05/21 12:43
问题一
有时候从 Github 上拷贝人家的工程,运行会出现各种依赖包、版本包问题。
修改 build.gradle
在项目的 build.gradle 里面设置,注意有两个build.gradle,最好都注意一下。把build.gradle里面的版本改为自己能运行的工程里面版本号。
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
注意,如果有本地的库工程,需要把它们的build.gradle也修改了,比如下图的 library和 library_youku
修改 File - Project Structure
在 Android Studio 里面选择 File 里面的 Project Structure,里面可以设置依赖版本。
参考文章
如何在Android Studio里设置Build Tool版本? http://bbs.csdn.net/topics/390980466
问题二
- 1
- 2
- 1
- 2
解决
最顶层的build.gradle 去掉 下面的代码
- 1
- 2
- 3
- 4
- 1
- 2
- 3
- 4
参考文章
Android Studio Gradle DSL method not found: ‘android()’ — Error(17,0) http://stackoverflow.com/questions/27735646/android-studio-gradle-dsl-method-not-found-android-error17-0)
0 0
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 26.0.2
- Error:failed to find Build Tools revision 23.0.2
- android studio 报Error:failed to find Build Tools revision 23.0.0 rc2
- android studio 报Error:failed to find Build Tools revision 23.0.0 rc2
- android studio 报Error:failed to find Build Tools revision 23.0.0 rc2
- android studio 导入项目时碰到的问题:failed to find Build Tools revision 21.1.2
- Error:failed to find Build Tools revision 23.0.3
- Error: Failed to find Build Tools revision 24.0.2
- 【studio导入项目遇到问题一】Error:failed to find Build Tools revision 21.1.1
- android studio 报Error:failed to find Build Tools revision XXXX
- 完美解决:android studio Error:Failed to find Build Tools revision 22.02
- android studio 报Error:failed to find Build Tools revision 21.0.0
- 关于 ASP 封装DLL 问题!
- 2016年终总结
- 2016最后一天
- C语言---辗转相除法 HDU 2503
- openCV读取文件夹下多张图片的方法
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- 06JavaScript字符串对象
- 【算法】数据结构与算法分析学习笔记——第三章习题选做Josephus问题
- 输入字符串xy#1987 经过与或运算过程及结果 求解答
- find 基本用法
- HTML用JS导出Excel的五种方法
- 装饰器模式在Struts2中的应用
- w7系统之家系统下载
- APP中如何设置搜狗输入法界面的高度?