已解决:Gradle DSL method not found: 'compile()'
来源:互联网 发布:淘宝联盟赚钱是真的吗 编辑:程序博客网 时间:2024/05/16 16:03
其实就是正常的导入一个lib,就出现的如下错误,蒙蔽了!!!
错误信息如下:
Error:(38, 0) Gradle DSL method not found: 'compile()'
Possible causes:<ul><li>The project 'KotlinTest' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
<a href="fixGradleElements">Upgrade plugin to version 2.3.3 and sync project</a></li><li>The project 'KotlinTest' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
截图如下:
出问题题的地方如下:
解决好之后如下:
这种问题真是蛋疼,专虐小白........
阅读全文
1 0
- 已解决:Gradle DSL method not found: 'compile()'
- 解决Gradle DSL method not found: 'compile()'错误的方法
- Gradle DSL method not found: 'compile() 解决办法
- Gradle DSL method not found :'compile'
- Gradle DSL method not found: 'compile()’
- Gradle DSL method not found:'compile()'
- Gradle sync failed: Gradle DSL method not found: 'compile()'
- 解决gradle DSL method not found: android()
- 解决Gradle DSL method not found: ‘android()’
- 解决 Gradle DSL method not found: 'android()'
- 解决Gradle DSL method not found :'android()'
- 解决Gradle DSL method not found: ‘android()’
- 解决: Gradle DSL method not found: 'apt()'
- 解决Gradle DSL method not found: ‘android()’
- 解决Gradle DSL method not found: ‘android()’
- 解决Gradle DSL method not found: ‘android()’
- 解决Gradle DSL method not found: ‘android()’
- 解决Gradle DSL method not found: ‘android()’
- Access denied for user 'root解决办法以及wampserver修改端口号
- linux下安装mysql的两种方法
- 3种方法轻松处理php开发中emoji表情的问题
- SVN详解
- csu 1949 小明的烦恼 并查集+权值线段树
- 已解决:Gradle DSL method not found: 'compile()'
- HTML5+js+css3开心消消乐手机pc端通用源码|H5小游戏
- Linux常用命令(三)——系统管理命令(未拓展)
- 【Struts2】Struts2学习(5)类型转换和输入校验
- linux cpu相关信息
- return a==b?a:b;//谈谈你对这段代码的看法 百度面试题引来支付宝员工和阿里巴巴员工围观热议
- Git简介
- 在编译OpenCV时如何开启OpenNI
- 算法设计与应用基础系列8