Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
来源:互联网 发布:西安软件学校 编辑:程序博客网 时间:2024/04/30 11:27
问题一
有时候从 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
- WPF 定义自己的控件
- Deep Learning(深度学习)学习笔记整理系列之(四)
- 关于音视频直播技术的总结
- Java调用hdfs出现java.lang.VerifyError: class org.apache.hadoop.hdfs.protocol.proto异常
- POJ 1240 Pre-Post-erous! 笔记
- Android Studio 常见 Build 问题 Error:failed to find Build Tools revision 23.0.2
- 类的构造函数
- 正整数分解质因数(Java详解)
- 云数据中心安全设计要点
- dubbo-基础原语与配置解读
- Linux C语言 进程
- 我对封装、继承、抽象类和接口的一些简单理解
- redis安装及使用及配置文件详解
- ecnu3247(铁路修复计划)